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

only import react-native-fs on android

Open mvayngrib opened this issue 7 years ago • 2 comments

cool module!

react-native-fs is an unnecessary dependency for ios apps, would be good to split the code so as not to import it when it's not needed

mvayngrib avatar Feb 10 '18 03:02 mvayngrib

please can you add an example of how we can use this module ??

houssem23000 avatar Apr 22 '18 09:04 houssem23000

I have a fork going here npmjs.com/package/rn-update-apk / mikehardy/react-native-update-apk - released there with an example app to make sure I didn't break anything

The example shows you how to use everything, and I only include react-native-fs for Android features. I am not sure if the iOS app store link is working correctly though, if you want to try it I'd appreciate it

mikehardy avatar Mar 13 '19 05:03 mikehardy