Lovepreet Singh
Lovepreet Singh

Reputation: 390

How to update React native android app with expo

I build an android app in react native and expo. Now I made some changes to the code and was thinking that is it possible to update the app OTA for the users. My app is not published to the play store. I tried by expo build:apk but this build a new apk file and earlier one has no effect on it.

Upvotes: 0

Views: 4012

Answers (2)

MDaugherty
MDaugherty

Reputation: 31

expo publish is now deprecated. Use eas update now.

Here is the documentation explaining more.

Upvotes: 1

Stanisław Chmiela
Stanisław Chmiela

Reputation: 471

If you haven't disabled OTA updates for your app you should be able to push an update to the existing app using expo publish command. Just run it in the directory of your project—the project will be built, uploaded to the servers and next time the app starts it will download the update.

See https://docs.expo.io/introduction/walkthrough/#updating-the-app-over-the-air for more information. 🙂

Upvotes: 4

Related Questions