Hello! I have a button in my app that checks for updates:
const updateAvailable = await Updates.checkForUpdateAsync();
if (updateAvailable) {
await Updates.fetchUpdateAsync();
Toast.show({
textStyle: { fontFamily: 'Roboto_regular' },
text: 'Update Available.',
buttonText: 'OK',
type: 'success',
});
}
I deployed the app as a standalone and every time I call this code it returns true that an update is available. Am I doing something wrong?