below code is about how to read the file by react-native-fs on RN(React Native) project. … // typescript style import * as RNFS from ‘react-native-fs’; … // readFile(filepath: string, encoding?: string) RNFS. readFile(filePath, ‘ascii’). then(res => { … }) .