You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by no...@apache.org on 2020/06/12 15:34:57 UTC

[cordova-plugin-wkwebview-engine] branch master updated: added WKWebViewOnly to Readme (#161)

This is an automated email from the ASF dual-hosted git repository.

normanbreau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-wkwebview-engine.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a8993c  added WKWebViewOnly to Readme (#161)
9a8993c is described below

commit 9a8993c6830424e183ec9a76f9ad7d74fd933f6f
Author: machinaeXphilip <ph...@machinaex.de>
AuthorDate: Fri Jun 12 17:34:48 2020 +0200

    added WKWebViewOnly to Readme (#161)
    
    * added WKWebViewOnly to Readme
    
    added WKWebViewOnly to Readme to config Readme explanation.
    This is (afaik) needed in order to be able to upload new apps to the iOS App Store. I assume because without it both WebViews get delivered which then triggers Apples ITMS-90809: Deprecated API Usage Error on processing of the App
    
    * added version
    
    mention WKWebViewOnly only working in cordova-ios versions >= 5.1.0  as suggested  by @breautek in https://github.com/apache/cordova-plugin-wkwebview-engine/pull/161
    
    * awkward doubling of words corrected.
    
    * Update README.md
    
    better wording and order.
    
    Co-authored-by: エリス <er...@users.noreply.github.com>
    
    Co-authored-by: エリス <er...@users.noreply.github.com>
---
 README.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/README.md b/README.md
index 06ba3d0..3d61663 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,12 @@ WKWebView may not fully launch (the deviceready event may not fire) unless if th
 <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
 ```
 
+If using `cordova-ios >= 5.1.0`, it is recommended to include the following `preference` tag to only use the `WKWebView` which is a requirement for new App submissions to the AppStore:
+
+```xml
+<preference name="WKWebViewOnly" value="true" />
+```
+
 Notes
 ------
 This plugin creates a shared `WKProcessPool` which ensures the cookie sharing happens correctly across `WKWebView` instances. `CDVWKProcessPoolFactory` class can be used to obtain the shared `WKProcessPool` instance if app creates `WKWebView` outside of this plugin.


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