Expo updates doesn't work correctly

Please provide the following:

  1. SDK Version: 44.0.0
  2. Platforms(Android/iOS/web/all): all

Hi. I’m experiencing a weird bug with expo-updates.
expo-updates includes 3 main functions: checkForUpdate, fetchUpdate, reloadAsync.
As far as I know, they work as follow:
checkForUpdate - checks weather there is a new update
fetchUpdate - downloads the update from expo server
reloadAsync - reload with the last downloaded event

In my app I do the following:

if (checkUpdates.isAvailable) {
        alert("before fetch")
        const result = await Updates.fetchUpdateAsync()
        alert("after fetch")
        await Updates.reloadAsync()
        alert("reloading")
}

The checkForUpdate works correctly, it detects when there is a new update.
Then, the fetchUpdate function just stuck, it just freezes the app and the user must close it and re open it. I know it because the only alert that happens is the beofre fetch. None of the others happen next.
Therefor, the reloadAsync won’t happen.
How can I prevent it from stuck? What am I doing wrong?

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