dpogue opened a new pull request, #1582: URL: https://github.com/apache/cordova-ios/pull/1582
### Platforms affected iOS ### Motivation and Context <!-- Why is this change required? What problem does it solve? --> <!-- If it fixes an open issue, please link to the issue here. --> Provide a preference to control whether the WKWebView will refresh or reload completely after a crash. Closes GH-1232. Closes GH-1235. Closes GH-1355. Closes GH-1393. Closes GH-1533. Closes GH-1552. ### Description <!-- Describe your changes in detail --> This adds a `CrashRecoveryBehavior` preference with options `"refresh"` (default - try to refresh the WKWebView URL) and `"reload"` (load the starting page again in the WKWebView). This doesn't solve the root issue where sometimes refreshing the WKWebView after a crash results in a blank screen, but gives people the option to force a full reload (which seems to be what people are using as a workaround for the blank screen bug). ### Testing <!-- Please describe in detail how you tested your changes. --> ### Checklist - [ ] I've run the tests to see all new and existing tests pass - [x] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct [keyword to close issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/)) - [ ] I've updated the documentation if necessary -- 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]
