React Native AppUpdate
Update apk and update from app store in React Native.
Installation
npm install react-native-appupdate --save
Note: If your react-native version < 0.40
npm install react-native-appupdate@1.0.5 --save
adding automatically with react-native link
react-native link react-native-appupdatereact-native link react-native-fs
Usage
;; const appUpdate = iosAppId: '123456' apkVersionUrl: 'https://github.com/version.json' { Alert; } { console } { console } { console } { console } { console } { console };appUpdate;
// version.json "versionName":"1.0.0" "apkUrl":"https://github.com/NewApp.apk" "forceUpdate": false
Third Library
- react-native-fs