App Force update possible or not in expo ?

I stuck with an issues while working on app
I want to force update my app using OTA update or through manually play store update.
Please guide me how to do?

Hey @biplov14,

What do you mean by “force update” exactly?



Hey @adamjnav Thanks for reply.

force update :- It means when user came back in Expo app (Login Screen) then if App update is available on play store OR App store then Download it automatically in Background.

Step 1 :- Nothing Happened.

Code :-

//function for checking update is available or not 
  async getOTAUpdates(){
    try {
      const update = await Expo.Updates.checkForUpdateAsync();
      if (update.isAvailable) {
        await Expo.Updates.fetchUpdateAsync();
        // ... notify user of update ...
    } catch (error) {
      // handle or log error
      Alert.alert('Some error Occured' + error);

@adamjnav Any update ?

Hey @biplov14,

What do you have under your updates field in app.json?

Hey @adamjnav

updates field in app.json :-

  "updates": {
    "enabled": true,
    "checkAutomatically": "ON_LOAD",

Hey @adamjnav & @Expo

Any Update ?

Hey @biplov14,

Just to cover all possibilities, are you sure you have an update available? Also, if you are using release channels, can you make sure you’re publishing to the channel that you app is running? When running in the expo client, the one that is used by default is the default channel.




update available :- sure.
publishing :- expo build:android or ios.

Thanks for reply.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.