spoxies commented on issue #1120:
URL: https://github.com/apache/cordova-ios/issues/1120#issuecomment-1284157765
This is indeed quite an issue as Lou-Kuang says, and I'd like to chip in
with some extra context to replicate the issue (and show its urgency).
So in schort if webKit or the underlaying iOS presents a UIAlertController
and whilst that is open, a `alert(..), confirm(...)` is called, the app will be
stuck.
This commonly happens if a user is prompted for some native permission, or
shake the device to trigger "Shake to Undo". As far as the javascript goes
nothing is halted, so some event might trigger an alert
So an alternative/easy way to replicate this issue is execute:
```javascript
setTimeout(function(){
alert('This will mess up');
}, 5000);
```
and shake the device (e.g. like a Polaroid picture), to trigger native Undo
dialog....app wil be dead
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]