Videos
Just tired and implemented the expo OTA. It's great and I really enjoyed. This one reason is enough for me to prefer it over Flutter. 😅
Hi
In my eas.json, I have this under build:
"production": {
"channel": "production",
"distribution": "store",
"environment": "production",
"autoIncrement": true,
"ios": {
"simulator": false
}
}I have a question about OTA updates.
Let's say I have an app version 1.0.0 and some users are using it. Then I upload a new version 2.0.0 and some users update and use it (so now I have users using 2 different versions).
How can I send an update to the ones on the older version since all the users are on the same production channel? Is there any way to send an OTA update to the users on one version and not the others?
Thanks
As long as the update only involves changes to the JS bundle, and not the native binaries, you should be fine. If the library is pure JS, the update will work. If the library has both a native and JS side to it, the update will be fine as long as the update is only to the JS side. If the native side changed, it won't work.
This article goes into a bit more: How To Use React Native Over The Air (OTA) Updates
After testing this out, it seems that any additions to new libraries does work.
I did notice you need a new build if you change project files like app.json for example.