I am getting 404 Error cordova.js ect. after App reloaded to apply new changes from production channel.
Below are the code I used for: Here download and extract works but when it reloadApp called it gives white screen after app re-launch and in console I see 404 errors.
Let me know if I am missing anything, before update app works well.
await Deploy.configure({ channel: ‘production’});
const update = await Deploy.checkForUpdate();
console.log(update);
if (update.available) {
await Deploy.downloadUpdate((progress) => {
this.progress = progress;
console.log(progress);
})
await Deploy.extractUpdate((progress) => {
this.progress = progress;
console.log(progress);
})
await Deploy.reloadApp();
}