SDK Version: 44
Platforms(Android/iOS/web/all): all
Add the appropriate “Tag” based on what Expo library you have a question on.
So I recently updated my sdk to 44 and used eas to build my app and deployed it on the AppStore and Playstore. But to my suprise OTA updates stopped working. If I use expo publish I don’t get any updates. If I open the project on my Device over Expo Go I get the updates. Am I doing something wrong?
Best regards
Hey @enesinho , can you share your updates configuration? Also, to clarify, do the updates not trigger on both Android and iOS?
Cheers,
Adam
Hey @adamjnav this is my updates configuration. It works in other projects which where not build with eas:
"updates": {
"fallbackToCacheTimeout": 20000,
"enabled": true,
"checkAutomatically": "ON_LOAD"
},
I was only able to test this on my iOS device. So I can’t tell right now, if it worked for Android. But I can follow up on that.
Best regards,
Enes
rcknti
January 17, 2022, 2:18pm
4
With EAS we need to define release channel in eas.json
eg sth like this (might be wrong brackets, just made a snippet)
"build": {
"preview": {
"android": {
"buildType": "apk",
"env": {
"APP_ENV": "preview"
}
},
"releaseChannel": "preview-v.0.0.1"
}
}
And then you need to publish to that release channel
expo publish --release-channel preview-v.0.0.1
Hey @rcknti , so my eas.json looks like this:
{
"cli": {
"version": ">= 0.44.1"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {
"releaseChannel": "production"
}
},
"submit": {
"production": {}
}
}
and I published my code with this command:
expo publish --release-channel production
and I still see no changes on my iOS app.
system
Closed
February 16, 2022, 4:26pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.