I am encountering a very strange issue on iOS that I cannot make sense of at all.
I am deploying a CodePush update and I also get it at first in my app, but after restarting the app, the update doesn't take affect anymore. I first though that the update was rolled back of course, so I added extensive logging to our app, but then I realized that getUpdateMetadata still displays the label of the latest release, and that notifyAppReady never returns a statusReport.status of DeploymentStatus.FAILED but is called after installing the update with DeploymentStatus.SUCCESS. So somehow the update seems to be there as getUpdateMetadata proves but the code doesn't take affect anymore after a restart.
I am starting to run out of ideas for what could be happening here. Any help would be greatly appreciated.
It turned out, that I broke our CodePush setup while updating to RN 0.59, where the js bundle loading API changed
Hey @MrLoh, I've been investigating the issue, thanks for letting us now. Good to know that everything is ok now 馃憤
Thanks for using CodePush!
same issue
@WickyLeung did you make sure that you have everything implemented as per the reader instruction in your AppDeegate. I broke my setup when updating react native.
@MrLoh yeah, but I still get error like this issue.
@WickyLeung open your own new issue with a clear description of your specific problem. I doubt it鈥檚 the same, since you have provided no details. I debugged this for a day, read the codepush source code and added error handling to make sure a lot of cases where ruled out.
@MrLoh Can you share your updated code after fixing this? The same thing happened to me after upgrading to RN 0.59.
@MrLoh hey bro,i had fixed my bug and the reason is my assets files named with chinese. you can refer to this:http://www.uedlinker.com/2019/01/23/yi-ci-codepushre-geng-shi-bai-de-zong-jie/
@AdamGold just make sure to go through the setup instructions again and verify all is still set up correctly in app delegate
me too
@lighthx did you read the comments??? What are you trying to say.
Most helpful comment
@MrLoh hey bro,i had fixed my bug and the reason is my assets files named with chinese. you can refer to this:http://www.uedlinker.com/2019/01/23/yi-ci-codepushre-geng-shi-bai-de-zong-jie/