I am working with Expo’s OTA Updates, and for some reason my app doesn’t apply the update until the second time opening the app.
For example, I make some changes and run expo publish , I go ahead and open the app and there are no changes. I then close the app, and reopen and the changes are realized.
I’m looking to both download and apply changes right from the initial opening of the app.
this is expected behavior - unless it’s crucial for your app, you should leave the value as 0 because otherwise you need to, in the best case, wait for an http request to check for an update before proceeding. in the worst case, you need to download a js bundle and related assets, which could take a while on a slow connection and all the user would see is the splash screen.
So if I were to set the value to 0, this would disallow me to download and apply the updates on the first launch correct (only after the second launch would the downloaded JS bundle be applied)?
If this is the case, what method do you recommend so that users will always be on the most updated bundle. Manual checking?