Hi all,
I am developing a mobile application and I have a weird error that shows only on iOS, on Android the application works fine.
Basically once I launch the application I have the notification that the app has been update to the last version (screen1), then once the home page is loaded I got the warning:
" An error occurred while trying to update the app. If you want to retry the update, restart the app. If the problem persists you can reinstall, but all local data will be lost". (screen2).
On service centre's log the error are:"Upgrade failed - rolling back to previous application version.3 Running on native but cordova wasn't loaded"
and
"OSCache was not initialized because Cordova was not loaded.
Running on native but cordova wasn't loaded" (screen3)
I have seen on the forum other posts, and a number of users had this problem before but I couldn't find an actual solution (or at least once they solve they don't update the post with a solution, i think) someone suggest to regenerate the app on service centre (which I did) but that doesn't help.
Could someone suggest me a solution? Again it only happen on iOS, not on Android.
Thanks!
Hi,
Did you add new cordova plugin in the newest version ? if yes, you need to regenerate the app and uninstall it first from the IOS.
Because the "push update" cannot push cordova plugins.