I have a cordova app that runs on iPads and I recently got a very strange behavior with the new IPadOS 13+.
Some javascript native functions that should block the code flow and waits for user inputs ( like window.alert or window.confirm ) are no longer doing it. Therefore, the whole app functionality is compromised.
for example:
if(confirm("Are you sure ?"))
{
... // This block is not waiting for user input and executing straight away.
}
OR
// ... some normal program flow
alert('anything here'); // Normally the program should wait for the user to press 'OK' button.
// ... rest of the code that doesn't wait for the alert to be closed
This is a lot of trouble for the entire app, do you know any solution for this ? or anything that could help ? I cannot downgrade the ios version back to 12 anymore either.
PS. Im not sure, but could this be a bug from the safari webview version for IOS 13 ?
Thanks for the help