react-native-appupdate
react-native-appupdate copied to clipboard
运行报 undefined is not an object(evaluating 'RNFSFileTypeRegular') 是哪里还需配置吗
+1
我知道了,react-native-fs还要手动配置一下
我遇到了类似的问题,我安装的是最新的react-native-fs,后来我把版本降到2.9.11就没问题了。 我的react-native是0.51.0
I'm giving it a go with a fork from this code here https://www.npmjs.com/package/rn-update-apk / https://github.com/mikehardy/react-native-update-apk - released there with an example app to make sure I didn't break anything
The example should show how to integrate it well, even if you have other modules that define a FileProvider on Android (like rn-fetch-blob)