install update correctly after app installed,but It always rollback after restart the app
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
- Configure coodepush correctly
- Push update to production branch
- Immediate update don't work so update on app resume
- Hard close app and open again
Expected Behavior
Update from codepush already present
Actual Behavior
App rolled back to initial state and codepush doesn't apply anymore unless new update uploaded too codepush
Environment
- react-native-code-push version: 5.7.0
- react-native version: 0.61.4
- iOS/Android/Windows version: iOS 13
- Release
- Physical device (iPhone X, Xs, 11)
@DordeDimitrijev I am having the same issue:
react-native: 0.73.9
react-native-code-push: 8.3.1
For the context, I was upgrading the react-native from 0.72.8 to 0.73.9 and the codepush was upgraded from 8.1.1 to 8.3.1 after that the codepush update on android only stopped working.
Hello @fragilehm thank you for reaching out. I have several questions which can help me further analyze your issue.
- Are you using custom code push server, if so can you try out using default appcenter codepush server?
- If you don't use custom code push server, could you please provide logs from logcat when you apply update to your app?
Ideally it'd be nice if you could share small demo app with me where i can reproduce such behavior.
Hello @fragilehm thank you for reaching out. I have several questions which can help me further analyze your issue.
- Are you using custom code push server, if so can you try out using default appcenter codepush server?
- If you don't use custom code push server, could you please provide logs from logcat when you apply update to your app?
Ideally it'd be nice if you could share small demo app with me where i can reproduce such behavior.
@DordeDimitrijev thanks for your reply: I have missed the following while migrating to 0.73:
Now it works as expected.