Please provide the following:
- SDK Version:37
- Platforms(Android/iOS/web/all):Android
Trying to manually run OTA updates and getting this error when testing locally in production mode:
Network Error
Finished building JavaScript bundle in 1696ms.
Running application on Pixel 3.
[Error: No value for revisionId]
app.json
“updates”: {
“enabled”: true,
“checkAutomatically”: “ON_ERROR_RECOVERY”,
“fallbackToCacheTimeout”: 0
},
App.js
async function getAppUpdates() {
try {
const update = await Updates.checkForUpdateAsync();
if (update.isAvailable) {
await Updates.fetchUpdateAsync();
Alert.alert(A new update is available, app will be restarted
);
await Updates.reloadAsync();
}
} catch (e) {
Alert.alert(Error occurred checking for app updates
);
console.log(e);
}
};