You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/03/06 00:16:20 UTC

[GitHub] [cordova-plugin-wkwebview-engine] breautek commented on issue #131: April 2020. UIWebview will be rejected by Apple

breautek commented on issue #131: April 2020. UIWebview will be rejected by Apple
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/131#issuecomment-595510399
 
 
   As of `cordova-ios@5.1.1`, there is a preference `<preference name="WKWebViewOnly" value="true" />` which hides all the `UIWebView` references behind a compiler flag. With this flag, it is expected that you have a wkwebview plugin installed (the two common ones are either apache's wkwebview engine, or ionic's)
   
   If you use the inappbrowser plugin, then you should also use the latest version of that plugin, which will respect the `WKWebViewOnly` flag.
   
   Do note that other plugins may also reference these deprecated APIs, and they may need to be updated as well. Common offenders are social media plugins like facebook, google, etc.
   
   > Is cordova going to finally switch over to wkwebkit by default?
   
   Next major releases will have wkwebview built-in.
   
   > Also is this plugin still needed: "cordova-plugin-wkwebview-file-xhr"
   
   I'm not sure as in my apps I am still using the local webserver plugin (which isn't exactly ideal either), but I would invite you to our [slack](http://slack.cordova.io/) for questions like this.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org