code-push-cli (not tested on appcenter-cli)New release will be kept on next app start.
What actually happens?

before updates

while updating

after update (install IMMEDIATE)

when app restarts, automatically rolled back to prev version that build & installed by Xcode.
Examples folder run node create-app.js appName [email protected] [email protected] command to generate plain CodePushified React Native app. Please see description on top of create-app.js file content if needed(The more info the faster we will be able to address it!)
I think this PR on react-native is the problem.
So after upgrading to react-native 0.57.8 and react-native link this happens in AppDelegate.m
#ifdef DEBUG
#ifdef DEBUG
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
#else
jsCodeLocation = [CodePush bundleURL];
#endif
#else
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
As far as I can see, this will never load the latest bundle.
Hi @tanmaybhatt,
Thanks for reporting!
Yeah, you are right. I reproduced it. Working on fix. Thanks.
It's happening to me but on 0.56.0, is it normal?
@joaovpmamede, No, It isn't. I see that you opened new issue for this: https://github.com/Microsoft/react-native-code-push/issues/1483
Let's continue our conversation there.
Hi @2hyjun and @tanmaybhatt,
Fix already in Master and in new Release: https://github.com/Microsoft/react-native-code-push/releases/tag/v5.5.1
So, I'm going to close this issue. Please feel free to reopen it if you have any questions or face this issue again.
Thanks,
Alexander
Most helpful comment
Hi @2hyjun and @tanmaybhatt,
Fix already in Master and in new Release: https://github.com/Microsoft/react-native-code-push/releases/tag/v5.5.1
So, I'm going to close this issue. Please feel free to reopen it if you have any questions or face this issue again.
Thanks,
Alexander