react-native-appupdate icon indicating copy to clipboard operation
react-native-appupdate copied to clipboard

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

Open OYXK opened this issue 6 years ago • 4 comments

OYXK avatar Mar 16 '18 08:03 OYXK

+1

wangyihang875 avatar May 25 '18 02:05 wangyihang875

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

wangyihang875 avatar May 25 '18 02:05 wangyihang875

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

ANTmay1 avatar Sep 12 '18 09:09 ANTmay1

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)

mikehardy avatar Mar 16 '19 21:03 mikehardy