react-native-code-push

Registering React Native Code Push with React Native Navigation by Wix

梦想与她 提交于 2019-12-23 17:30:57
问题 I use react-native-code-push. which is: This plugin provides client-side integration for the CodePush service, allowing you to easily add a dynamic update experience to your React Native app(s). but In some of native implementations of navigation like react-native-navigation there isn't any root component. the app will start calling a function like this: // index.js import { Navigation } from 'react-native-navigation'; Navigation.startTabBasedApp({ tabs: [ { label: 'One', screen: 'example

codepush update's appVersion is incorrect. It's always the same as the current app's version

谁都会走 提交于 2019-12-11 06:34:10
问题 I am trying to get codepush working for my react-native app on Android. For better understanding and control, i am manually checking for updates. Here's my code: // Check for Codepush app update every time app is opened. console.log('Checking for codepush update !'); codePush.checkForUpdate(CODEPUSH_DEPLOYMENT_KEY, (update) => {console.log('handleBinaryVersionMismatchCallback: ', update)}) .then((update) => { console.log('Code push remote package: ', update); if (update != null) { let desc =