Standalone iOS app update doesn't immediately update js


#1

I recently created a new version of my expo app and created a standalone app without any issues. After submitting the update to apple and had someone download it to make sure everything was working. They opened the app and instead of the new version they got the old version and then had to close and reopen to get the new version. I am using “loadJSInBackgroundExperimental” so if I had just published an OTA update to expo I would have expected the delay but when you upload a new binary to the app store does it not update immediately?


Updating standalone always use old JS bundle at first launch
#2

Hey @bevilacqua - sorry for the confusion here. What probably happened is that since the device had the older version of the JS cached, the new binary loaded the cached JS rather than the version embedded in the binary. We’re actively working on some improvements to the OTA update system which should clear up this issue - you can expect to see them in SDK 25 or 26.


closed #3

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.