if (update.isAvailable) {
await Updates.fetchUpdateAsync();
Updates.reloadFromCache();
}
Problem is that Updates.reloadFromCache() works as expected on iOS but doesn’t work on Android. Thus, I can’t force an update on Android in the code. Please help.
Same thing happened on SDK 29 and now in 32. After the code above is executed, android app simply continues (Updates.reloadFromCache(); is ignored) and I’m starting to use the version of the app I used right before. Whereas on iOS it is restarting and I’m using the latest version (the one that was just downloaded).
Hey there. I’m also having this issue on Android. The app just re-renders, but it does not reload (it does not restart). And I am sure that update.isAvailable evaluated to true.
I am using SDK version 31; running on an HTC One M8.
Is there another way to trigger a restart of the application?