breautek commented on issue #1008: URL: https://github.com/apache/cordova-ios/issues/1008#issuecomment-708842626
The `WKWebViewOnly` flag is only configurable in `[email protected]`. In `cordova-ios@6` the `UIWebView` has been completely removed and thus default webview is the WKWebView, effectively hard-coding `WKWebViewOnly` flag to true. As far as the Apache codebase goes, you'll need to have the following: ## cordova-ios@6 - Use the latest version of `cordova-ios` - If [cordova-plugin-wkwebview-engine](https://github.com/apache/cordova-plugin-wkwebview-engine) is installed, uninstall it. - If you use inappbrowser plugin, update to `4.0.0` If for some reason you cannot yet upgrade to `cordova-ios@6`, then read further. ## cordova-ios@5 - Be on `[email protected]` - Have `WKWebViewOnly` preference enabled - Have a WKWebView plugin installed such as [this](https://github.com/apache/cordova-plugin-wkwebview-engine) one. - If you use the inappbrowser plugin, version `3.2.0` or later will respect the `WKWebViewOnly` flag. ## Note on other plugins It is possible that other third-party plugins may also include references of the `UIWebView` leading to app store rejection. This isn't an exhaustive list but some known plugins are: - social media plugins - google maps plugin - firebase plugins These plugins if your app uses them will also need to be updated. I invite you to our [slack](http://slack.cordova.io/) for further assistance. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
