When i integrate the code push to my RN App, i could update my App first time(UI changed), but when i forced exit(press the android physical back button)to exit the app, and then open the app, the UI rollback.
How can i handle this case?
$ react-native run-android
"dependencies": {
"axios": "^0.16.2",
"color": "~0.11.1",
"dva": "1.3.0-beta.4",
"dva-loading": "^0.2.1",
"jcore-react-native": "^1.1.0",
"jpush-react-native": "1.6.0",
"lodash": "^4.13.1",
"mobile-center": "^0.6.0",
"mobile-center-analytics": "^0.6.0",
"mobile-center-crashes": "^0.6.0",
"moment": "^2.18.1",
"native-base": "^2.1.5",
"path-to-regexp": "^1.7.0",
"rc-form": "^1.3.4",
"react": "16.0.0-alpha.12",
"react-native": "^0.45.1",
"react-native-code-push": "^3.0.0-beta",
"react-native-datepicker": "^1.6.0",
"react-native-eventemitter": "0.0.1",
"react-native-i18n": "^2.0.1",
"react-native-image-crop-picker": "^0.13.1",
"react-native-looped-carousel": "^0.1.7",
"react-native-picker": "^4.0.18",
"react-native-splash-screen": "^2.1.0",
"react-navigation": "^1.0.0-beta.11",
"react-timer-mixin": "^0.13.3",
"redux-logger": "^3.0.6",
"redux-persist": "^4.8.0"
},
Description
When i integrate the code push to my RN App, i could update my App first time(UI changed), but when i forced exit(press the android physical back button)to exit the app, and then open the app, the UI rollback.
How can i handle this case?
Reproduction
2.User click update, then download the package
3.Package download successful, then reload
4.the app check the Version, and then show the app is the latest one.
5.wait about 40s, then press the back button(physical back button, the app will forced exit)
6.open the app again, the version was roll back
Additional Information