Reputation: 13138
Previously you could call Updates.reload()
, but that's been removed.
A new method, Updates.reloadAsync()
has been added, but doesn't function in development mode. Unfortunately our app relies on being able to restart itself. Is there some way to do this in SDK 39, or are we left to rewrite our application to accommodate this removal?
Upvotes: 1
Views: 554
Reputation: 13138
The functionality was added back in a patch version of SDK 39.
Make sure you have at minimum these package versions:
"expo": "^39.0.3",
"expo-updates": "~0.3.5",
"react-native": "https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz",
Upvotes: 1