react-native-fs
用于实现react-native访问原生文件系统
github
https://github.com/itinance/react-native-fs
环境要求
For RN < 0.57 and/or Gradle < 3 you MUST install react-native-fs at version @2.11.17!
For RN >= 0.57 and/or Gradle >= 3 you MUST install react-native-fs at version >= @2.13.2!
安装react-native-fs
npm install react-native-fs --save
Note: If your react-native version is < 0.40 install with this tag instead:
npm install [email protected] --save
例子
Basic
<