JamesRichardson
JamesRichardson

Reputation: 161

How does expo publish overwrite my Testflight download?

I have a react-native application which is using Expo. When I want a build on my iOS device, I run

expo build:ios

then I upload the build to my appstoreconnect account and manage the build version through Testflight. Then on my iOS device I'm able to download it.

This all makes sense, as it mirrors the android process of building, creating a downloadable link, and having the end user download the latest link. But if I make a change and run "expo publish"... the app downloaded on my iOS device automatically has the changes that I made to the source code. How is that possible? Why don't I need to rebuild and reupload the .ipa to Apple for them to distribute through Testflight?

Thank you in advance!

Upvotes: 1

Views: 1894

Answers (1)

monsty
monsty

Reputation: 633

It's happening because of the Expo "OTA" updates system (over the air).

When you publish to a release channel, users will automatically get the new update.

If you make some changes in app.json, or if you updated some native codes, you will need to re-build your app. The OTA updates only works for JS updates.

Upvotes: 1

Related Questions