parryworld / react-native-appupdate

Update apk and update from app store in React Native.
MIT License
85 stars 36 forks source link

运行报 undefined is not an object(evaluating 'RNFSFileTypeRegular') 是哪里还需配置吗 #14

Open OYXK opened 6 years ago

wangyihang875 commented 6 years ago

+1

wangyihang875 commented 6 years ago

我知道了,react-native-fs还要手动配置一下

ANTmay1 commented 6 years ago

我遇到了类似的问题,我安装的是最新的react-native-fs,后来我把版本降到2.9.11就没问题了。 我的react-native是0.51.0

mikehardy commented 5 years ago

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)