Please provide the following:
- SDK Version: 39.0.0
- Platforms(Android/iOS/web/all): iOS
Hi everyone !
I have this problem where OTA updates are working for internal testers on testflight but when a “public” tester download the app, they have older versions, before the OTA updates were made.
Is it an expected behavior ?
Thanks in advance !
Depending on your
updates configuration in app.json, they may have to kill the app and reopen it to get the OTA update (or maybe they don’t have a network connection, and thus can’t download the update)?
Thanks for your answer charlie!
Actually I shouldn’t have called it OTA updates since they didn’t have the app installed before.
It was their first download thanks to the AppStoreConnect public link
The updates(/changes) that were correctly shown on our internal tests were not shown for users with the public link.
It’s like they had an older version.
Maybe it is not working when there are too many changes compared to the app that was validated by apple ?
@breadboxio it is very clear, each bundle different from the original IPA is considered an OTA updates ! That was the missing part, thanks a lot !
Indeed I had the fallbackToCacheTimeout set to 0, which I will now set to default 30s
to be sure the app is rightly updated before use.
Have a good day
Hi again ! maybe I had not quite understood it well.
I have removed
fallbackToCacheTimeout in App.json, which should make that the app is downloaded and updated in the default 30s timeframe. But still not working.
I’d like the app to be stopped and updated on start when a new update is available.
I’ve tried to do that manually but still not working.
Can anybody help on that ?
@perroudsky after you changed the
fallbackToCacheTimeout, did you create another IPA build? I can’t find it in the documentation, but if I recall correctly, that App.json config option needs a rebuild of the IPA to take effect.
Yes I hade done it and it was not working
I’ve made a workaround with appstate which check for updates everytime the app comes to foreground and if it does the app get ‘reloaded’ with the latest version.
It’s ugly and not “user-friendly”, but for now its fine !
If you have other solutions I’d be glad to hear
Check your system time and also check date. OTA update will work easily.