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.
app.json
"updates": {
"fallbackToCacheTimeout": 0
},
I was able to fix this by changing fallbackToCacheTimeout to any n > 0.
This allows the app to download and apply any updates within n time before reverting back to previous cached version of the app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With