You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2020/07/20 11:27:01 UTC

svn commit: r1880072 - in /cordova/site/public: announcements/2020/07/04/cordova-common-release-4.0.2.html blog/index.html feed.xml howto/2020/07/ howto/2020/07/18/ howto/2020/07/18/uiwebview-warning.html sitemap.xml static/js/index.js

Author: janpio
Date: Mon Jul 20 11:27:00 2020
New Revision: 1880072

URL: http://svn.apache.org/viewvc?rev=1880072&view=rev
Log:
Updated docs

Added:
    cordova/site/public/howto/2020/07/
    cordova/site/public/howto/2020/07/18/
    cordova/site/public/howto/2020/07/18/uiwebview-warning.html
Modified:
    cordova/site/public/announcements/2020/07/04/cordova-common-release-4.0.2.html
    cordova/site/public/blog/index.html
    cordova/site/public/feed.xml
    cordova/site/public/sitemap.xml
    cordova/site/public/static/js/index.js

Modified: cordova/site/public/announcements/2020/07/04/cordova-common-release-4.0.2.html
URL: http://svn.apache.org/viewvc/cordova/site/public/announcements/2020/07/04/cordova-common-release-4.0.2.html?rev=1880072&r1=1880071&r2=1880072&view=diff
==============================================================================
--- cordova/site/public/announcements/2020/07/04/cordova-common-release-4.0.2.html (original)
+++ cordova/site/public/announcements/2020/07/04/cordova-common-release-4.0.2.html Mon Jul 20 11:27:00 2020
@@ -167,6 +167,26 @@
             </div>
             <div class="col-sm-6">
                 
+                    <a href="/howto/2020/07/18/uiwebview-warning.html">Next</a>
+                    <br>
+                    <br>
+                    <a class="title" href="/howto/2020/07/18/uiwebview-warning.html">UPDATED: How to handle the 'Deprecated API Usage - UIWebView' warning while uploading to the App Store</a>
+                    <div class="date"> 18 Jul 2020 - By Niklas Merz </div>
+                    <p class="content">
+                        <!--
+                            NOTE:
+                                the markdownify filter is used here
+                                because posts are rendered in sequence;
+                                that is, the next post's content isn't
+                                yet rendered at the time that this post
+                                is being rendered, so page.next.excerpt
+                                is still in Markdown and not HTML
+
+                            Reference: https://github.com/jekyll/jekyll/issues/2860
+                        -->
+                        We recently posted instructions how to update your apps to remove all...
+                    </p>
+                
             </div>
         </div>
     </footer>

Modified: cordova/site/public/blog/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/blog/index.html?rev=1880072&r1=1880071&r2=1880072&view=diff
==============================================================================
--- cordova/site/public/blog/index.html (original)
+++ cordova/site/public/blog/index.html Mon Jul 20 11:27:00 2020
@@ -123,6 +123,38 @@
             
             <li>
                 <header>
+                    <div class="adorner" blogTime="Sat, 18 Jul 2020 00:00:00 +0000"></div>
+                    <h2 class="title">
+                        <a href="/howto/2020/07/18/uiwebview-warning.html">UPDATED: How to handle the 'Deprecated API Usage - UIWebView' warning while uploading to the App Store</a>
+                    </h2>
+                    <div class="details">
+                        <span class="date">18 Jul 2020</span>
+                        - by
+                        <span class="author">
+                            
+                                <a href="https://twitter.com/niklasmaerz">Niklas Merz</a>
+                            
+                        </span>
+                        <a class="comment" href="/howto/2020/07/18/uiwebview-warning.html#disqus_thread"></a>
+                    </div>
+                </header>
+                <section class="post-excerpt">
+                    <p><p>We recently posted <a href="/howto/2020/03/18/wkwebviewonly.html">instructions</a> how to update your apps to remove all <code>UIWebView</code> references, because Apple now rejects all apps using <code>UIWebView</code>.</p>
+
+<p>We are talking about this warning:</p>
+
+<blockquote>
+<p>ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.</p>
+</blockquote>
+
+<p>Some things have changed and new versions of cordova-ios have been released since the last post.</p>
+</p>
+                    <div><a href="/howto/2020/07/18/uiwebview-warning.html">More...</a></div>
+                </section>
+            </li>
+            
+            <li>
+                <header>
                     <div class="adorner" blogTime="Sat, 04 Jul 2020 00:00:00 +0000"></div>
                     <h2 class="title">
                         <a href="/announcements/2020/07/04/cordova-common-release-4.0.2.html">Cordova Common 4.0.2 Released!</a>
@@ -9748,7 +9780,7 @@ window.twttr = (function(d, s, id) {
 <script>
     window.onload = function(){
         setTimeout(function(){
-            var lastPostTime = new Date("Sat, 04 Jul 2020 00:00:00 +0000").getTime();
+            var lastPostTime = new Date("Sat, 18 Jul 2020 00:00:00 +0000").getTime();
           setCookie("visitTime", lastPostTime, 365);
         }, 2000);
     };

Modified: cordova/site/public/feed.xml
URL: http://svn.apache.org/viewvc/cordova/site/public/feed.xml?rev=1880072&r1=1880071&r2=1880072&view=diff
==============================================================================
--- cordova/site/public/feed.xml (original)
+++ cordova/site/public/feed.xml Mon Jul 20 11:27:00 2020
@@ -6,11 +6,64 @@
 </description>
     <link>https://cordova.apache.org/</link>
     <atom:link href="https://cordova.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Sun, 05 Jul 2020 09:07:58 +0000</pubDate>
-    <lastBuildDate>Sun, 05 Jul 2020 09:07:58 +0000</lastBuildDate>
+    <pubDate>Mon, 20 Jul 2020 11:08:16 +0000</pubDate>
+    <lastBuildDate>Mon, 20 Jul 2020 11:08:16 +0000</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>
+        <title>UPDATED: How to handle the &#39;Deprecated API Usage - UIWebView&#39; warning while uploading to the App Store</title>
+        <description>&lt;p&gt;We recently posted &lt;a href=&quot;/howto/2020/03/18/wkwebviewonly.html&quot;&gt;instructions&lt;/a&gt; how to update your apps to remove all &lt;code&gt;UIWebView&lt;/code&gt; references, because Apple now rejects all apps using &lt;code&gt;UIWebView&lt;/code&gt;.&lt;/p&gt;
+
+&lt;p&gt;We are talking about this warning:&lt;/p&gt;
+
+&lt;blockquote&gt;
+&lt;p&gt;ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.&lt;/p&gt;
+&lt;/blockquote&gt;
+
+&lt;p&gt;Some things have changed and new versions of cordova-ios have been released since the last post.&lt;/p&gt;
+
+&lt;!--more--&gt;
+
+&lt;h2&gt;Update cordova-ios to version 6.0.0 or newer&lt;/h2&gt;
+
+&lt;p&gt;Please update to the latest &lt;code&gt;cordova-ios&lt;/code&gt; version to get the best compatibility with recent iOS changes. As of this writing the current version is 6.1.0. Version 6.0.0 of cordova-ios moved &lt;code&gt;WKWebView&lt;/code&gt; support into &lt;code&gt;cordova-ios&lt;/code&gt; and removed &lt;code&gt;UIWebView&lt;/code&gt; code. Due to this change, the &lt;code&gt;cordova-plugin-wkwebview-engine&lt;/code&gt; plugin is obsolete and will not work with this release. If you have this plugin installed, it is safe to remove with &lt;code&gt;cordova plugin remove cordova-plugin-wkwebview-engine&lt;/code&gt;.&lt;/p&gt;
+
+&lt;p&gt;Additionaly, &lt;code&gt;WKURLSchemeHandler&lt;/code&gt; support has been introduced with this release. Serving your app content through a custom scheme fixes CORS issues that exist because of the strict security policies that &lt;code&gt;WKWebView&lt;/code&gt; has applied to the &lt;code&gt;file&lt;/code&gt; scheme. You can easily configure your Cordova project to use a custom scheme by setting the preference options &lt;code&gt;scheme&lt;/code&gt; and &lt;code&gt;hostname&lt;/code&gt; in the &lt;code&gt;config.xml&lt;/code&gt; file. &lt;strong&gt;Bear in mind that running your app with a custom URL scheme changes the origin of your web code and you will lose access to web storage, such as local storage, indexed DB, etc.&lt;/strong&gt;&lt;/p&gt;
+&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-xml&quot; data-lang=&quot;xml&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;preference&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;scheme&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;app&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;/&amp;gt;&lt;/span&gt;
+&lt;span class=&quot;nt&quot;&gt;&amp;lt;preference&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;hostname&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;localhost&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;/&amp;gt;&lt;/span&gt;
+&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
+&lt;p&gt;It is important to know that with the introduction of &lt;code&gt;WKURLSchemeHandler&lt;/code&gt;, iOS 10 support has been dropped.&lt;/p&gt;
+
+&lt;h2&gt;Still getting the warning?&lt;/h2&gt;
+
+&lt;p&gt;If you are still getting the warning, it is most likely one or more plugins in your project still references &lt;code&gt;UIWebView&lt;/code&gt;. You will need to identify which plugins contain &lt;code&gt;UIWebView&lt;/code&gt; code and contact those plugin&amp;#39;s developers through their support channel (for instance their plugin&amp;#39;s repo). They will need to fix their plugins by either removing the references or wrap them with the new flag.&lt;/p&gt;
+
+&lt;h2&gt;Using other WKWebView plugin&lt;/h2&gt;
+
+&lt;p&gt;The official Apache WKWebView plugin is no longer needed with these &lt;code&gt;cordova-ios&lt;/code&gt; versions since &lt;code&gt;WKWebView&lt;/code&gt; has been integrated and &lt;code&gt;UIWebView&lt;/code&gt; is removed. There are other WKWebView plugins that can be used. Make sure they have been updated and use the latest version. If you have any issues or usage questions with their plugins, please read their docs and request help through their support channels.&lt;/p&gt;
+
+&lt;h2&gt;CORS issues&lt;/h2&gt;
+
+&lt;p&gt;If you experience any CORS issues Cordova PMC member Norman Breau published a &lt;a href=&quot;https://breautek.com/2020/07/14/enabling-cors/&quot;&gt;post on his blog&lt;/a&gt; with a good explanation of CORS.&lt;/p&gt;
+
+&lt;h2&gt;Weview issues&lt;/h2&gt;
+
+&lt;p&gt;If using a custom scheme, &lt;code&gt;WKWebView&lt;/code&gt; won&amp;#39;t allow to load file urls in img/video tags (nor fetch them, nor anything). &lt;code&gt;cordova-ios&lt;/code&gt; added a helper method to convert file URLs to URLs that have the scheme and &lt;code&gt;WKWebView&lt;/code&gt; can understand.&lt;/p&gt;
+
+&lt;p&gt;window.WkWebView.convertFilePath(&amp;#39;your/file/path&amp;#39;);&lt;/p&gt;
+</description>
+        <pubDate>Sat, 18 Jul 2020 00:00:00 +0000</pubDate>
+        <link>https://cordova.apache.org/howto/2020/07/18/uiwebview-warning.html</link>
+        <guid isPermaLink="true">https://cordova.apache.org/howto/2020/07/18/uiwebview-warning.html</guid>
+        
+        <category>ios</category>
+        
+        
+        <category>howto</category>
+        
+      </item>
+    
+      <item>
         <title>Cordova Common 4.0.2 Released!</title>
         <description>&lt;p&gt;We are happy to announce that &lt;code&gt;cordova-common@4.0.2&lt;/code&gt; was released in July 2020. This is one of the libraries used behind-the-scenes by nearly all of the Cordova tooling and provides utilities for dealing with things like &lt;code&gt;config.xml&lt;/code&gt; parsing.&lt;/p&gt;
 
@@ -1030,64 +1083,5 @@ Apple has also deprecated the &lt;code&g
         
       </item>
     
-      <item>
-        <title>How To Use &#39;WKWebViewOnly&#39;</title>
-        <description>&lt;p&gt;Apple started to reject apps with &lt;code&gt;UIWebView&lt;/code&gt; references. You will need to update your app to fix this and this post sums up the required steps.&lt;/p&gt;
-
-&lt;p&gt;This should solve the warning after uploading the app to App Store connect:&lt;/p&gt;
-
-&lt;blockquote&gt;
-&lt;p&gt;ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.&lt;/p&gt;
-&lt;/blockquote&gt;
-
-&lt;p&gt;A new &lt;code&gt;preference&lt;/code&gt; flag &lt;code&gt;WKWebViewOnly&lt;/code&gt; was introduced to remove all &lt;code&gt;UIWebView&lt;/code&gt; references from Cordova&amp;#39;s code during compile-time. It is recommended to upgrade the &lt;code&gt;cordova-ios&lt;/code&gt; platform to version &lt;code&gt;5.1.1&lt;/code&gt;.&lt;/p&gt;
-
-&lt;!--more--&gt;
-
-&lt;h2&gt;Use a WKWebView plugin.&lt;/h2&gt;
-
-&lt;p&gt;The following example uses the &lt;code&gt;[cordova-plugin-wkwebview-engine](https://github.com/apache/cordova-plugin-wkwebview-engine)&lt;/code&gt; plugin:&lt;/p&gt;
-
-&lt;ul&gt;
-&lt;li&gt;Add plugin &lt;code&gt;cordova-plugin-wkwebview-engine&lt;/code&gt;, preferably the latest version &lt;strong&gt;1.2.1&lt;/strong&gt;&lt;/li&gt;
-&lt;li&gt;Add &lt;code&gt;preference&lt;/code&gt; attribute &lt;code&gt;CordovaWebViewEngine&lt;/code&gt; to the &lt;code&gt;config.xml&lt;/code&gt;.&lt;/li&gt;
-&lt;li&gt;Add &lt;code&gt;feature&lt;/code&gt; attribute &lt;code&gt;CDVWKWebViewEngine&lt;/code&gt; to the &lt;code&gt;config.xml&lt;/code&gt;.&lt;/li&gt;
-&lt;li&gt;Add &lt;code&gt;preference&lt;/code&gt; &lt;code&gt;WKWebViewOnly&lt;/code&gt; to the &lt;code&gt;config.xml&lt;/code&gt;.&lt;/li&gt;
-&lt;/ul&gt;
-
-&lt;p&gt;&lt;strong&gt;Example &lt;code&gt;config.xml&lt;/code&gt; with &lt;code&gt;cordova-plugin-wkwebview-engine&lt;/code&gt; plugin&lt;/strong&gt;&lt;/p&gt;
-&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-xml&quot; data-lang=&quot;xml&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;platform&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;ios&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
-    &lt;span class=&quot;nt&quot;&gt;&amp;lt;preference&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;WKWebViewOnly&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;true&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;/&amp;gt;&lt;/span&gt;
-
-    &lt;span class=&quot;nt&quot;&gt;&amp;lt;feature&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;CDVWKWebViewEngine&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
-        &lt;span class=&quot;nt&quot;&gt;&amp;lt;param&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;ios-package&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;CDVWKWebViewEngine&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;/&amp;gt;&lt;/span&gt;
-    &lt;span class=&quot;nt&quot;&gt;&amp;lt;/feature&amp;gt;&lt;/span&gt;
-
-    &lt;span class=&quot;nt&quot;&gt;&amp;lt;preference&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;CordovaWebViewEngine&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;CDVWKWebViewEngine&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;/&amp;gt;&lt;/span&gt;
-&lt;span class=&quot;nt&quot;&gt;&amp;lt;/platform&amp;gt;&lt;/span&gt;
-&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
-&lt;h2&gt;Still getting the warning?&lt;/h2&gt;
-
-&lt;p&gt;If you are still getting the warning, it is most likely one or more plugins in your project are still references &lt;code&gt;UIWebView&lt;/code&gt;. You will need to identify which plugins and contact those plugin&amp;#39;s developers through their support channel (plugin&amp;#39;s repo). They will need to fix their plugins by either remove the references or wrap them with the new flag.&lt;/p&gt;
-
-&lt;h2&gt;Using other WKWebView plugin&lt;/h2&gt;
-
-&lt;p&gt;There are alternatives to the official WKWebView plugin from the examples above. Make sure they have been updated and use the latest version. If you have any issues or usage questions with their plugins, please read their docs and request help through their support channels.&lt;/p&gt;
-
-&lt;h2&gt;Future Roadmap&lt;/h2&gt;
-
-&lt;p&gt;The next major release of &lt;code&gt;cordova-ios&lt;/code&gt; will remove all references of &lt;code&gt;UIWebView&lt;/code&gt; from code. The flag will also be removed in the next major release as &lt;code&gt;WKWebView&lt;/code&gt; will be Cordova&amp;#39;s default webview. There is currently &lt;em&gt;no ETA&lt;/em&gt; for the next major release.&lt;/p&gt;
-</description>
-        <pubDate>Wed, 18 Mar 2020 00:00:00 +0000</pubDate>
-        <link>https://cordova.apache.org/howto/2020/03/18/wkwebviewonly.html</link>
-        <guid isPermaLink="true">https://cordova.apache.org/howto/2020/03/18/wkwebviewonly.html</guid>
-        
-        <category>ios</category>
-        
-        
-        <category>howto</category>
-        
-      </item>
-    
   </channel>
 </rss>

Added: cordova/site/public/howto/2020/07/18/uiwebview-warning.html
URL: http://svn.apache.org/viewvc/cordova/site/public/howto/2020/07/18/uiwebview-warning.html?rev=1880072&view=auto
==============================================================================
--- cordova/site/public/howto/2020/07/18/uiwebview-warning.html (added)
+++ cordova/site/public/howto/2020/07/18/uiwebview-warning.html Mon Jul 20 11:27:00 2020
@@ -0,0 +1,312 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta name="format-detection" content="telephone=no">
+    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
+    <meta name="description" content="We recently posted instructions how to update your apps to remove all UIWebView references, because Apple now rejects all apps using UIWebView.We are talking...">
+
+    <title>
+        
+            
+                UPDATED: How to handle the 'Deprecated API Usage - UIWebView' warning while uploading to the App Store - Apache Cordova
+            
+        
+    </title>
+
+    <link rel="SHORTCUT ICON" href="/favicon.ico"/>
+
+    
+
+    
+    
+
+    <link rel="canonical" href="https://cordova.apache.org/howto/2020/07/18/uiwebview-warning.html">
+
+    <!-- CSS -->
+    <link rel="stylesheet" type="text/css" href="/static/css/main.css">
+    <link rel="stylesheet" type="text/css" href="/static/css/lib/syntax.css">
+    <!-- Algolia Search CSS -->
+    <link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css" />
+
+    <!-- Fonts -->
+    <!-- For attribution information, see www/attributions.html -->
+    <link href='https://fonts.googleapis.com/css?family=Raleway:700,400,300,700italic,400italic,300italic' rel='stylesheet' type='text/css'>
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
+    <!--[if lt IE 9]>
+        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+    <![endif]-->
+    <script type="text/javascript">
+        var disqus_developer = 1; // this would set it to developer mode
+    </script>
+
+    <!-- JS -->
+    <script defer type="text/javascript" src="/static/js/lib/jquery-2.1.1.min.js"></script>
+    <script defer type="text/javascript" src="/static/js/lib/bootstrap.min.js"></script>
+
+    <script>
+    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+    ga('create', 'UA-64283057-3', 'auto');
+    ga('send', 'pageview');
+</script>
+
+</head>
+
+<body>
+    <header>
+    <a class="scroll-point pt-top" name="top"></a>
+    <nav class="navbar navbar-inverse navbar-fixed-top">
+        <div class="container-fluid">
+            <div class="navbar-header">
+                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
+                    <span class="sr-only">Toggle navigation</span>
+                    <span class="icon-bar"></span>
+                    <span class="icon-bar"></span>
+                    <span class="icon-bar"></span>
+                </button>
+                <a class="navbar-brand" href="/"><img id="logo_top" src="/static/img/cordova-logo-newbrand.svg"/></a>
+            </div>
+            <div id="navbar" class="navbar-collapse collapse">
+                <div class="nav_bar_center">
+                    <ul class="nav navbar-nav">
+                        <li >
+                            <a href="/docs/en/latest/">Documentation</a>
+                        </li>
+                        <li >
+                            <a href="/plugins">Plugins</a>
+                        </li>
+                        <li class="active">
+                            <a href="/blog" id="blog_button">Blog<span class="badge" id="new_blog_count"></span></a>
+                        </li>
+                        <li >
+                            <a href="/contribute">Contribute</a>
+                        </li>
+                        <li>
+                            <a href="/#getstarted">Get Started</a>
+                        </li>
+                        <li>
+                            <form class="navbar-form navbar-right" id="header-search-form" role="search">
+                                <div class="input-group">
+                                    
+                                        
+                                    
+                                    <input id="header-search-field" type="text" placeholder="Search '9.x' docs..." class="form-control hidden-xs" autocomplete="off">
+                                </div>
+                            </form>
+                        </li>
+                    </ul>
+                </div>
+            </div><!--/.navbar-collapse -->
+        </div>
+    </nav>
+    <div id="_fixed_navbar_spacer" style="padding-top:50px"></div>
+</header>
+
+<div class="page container">
+    <div class="blog">
+    <h1 class="blogHeader">
+    Blog
+    <span class="rss">
+        <img src="/static/img/subscribe.png"><a href="/feed.xml">RSS Feed</a>
+    </span>
+</h1>
+
+<div class="post">
+    <header>
+        <div class="title">UPDATED: How to handle the 'Deprecated API Usage - UIWebView' warning while uploading to the App Store</div>
+        <div class="author">By:
+            
+              <a href="https://twitter.com/niklasmaerz">Niklas Merz</a>
+            
+        </div>
+        <div class="date">18 Jul 2020</div>
+    </header>
+    <section>
+        <div>
+            <p>We recently posted <a href="/howto/2020/03/18/wkwebviewonly.html">instructions</a> how to update your apps to remove all <code>UIWebView</code> references, because Apple now rejects all apps using <code>UIWebView</code>.</p>
+
+<p>We are talking about this warning:</p>
+
+<blockquote>
+<p>ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.</p>
+</blockquote>
+
+<p>Some things have changed and new versions of cordova-ios have been released since the last post.</p>
+
+<!--more-->
+
+<h2>Update cordova-ios to version 6.0.0 or newer</h2>
+
+<p>Please update to the latest <code>cordova-ios</code> version to get the best compatibility with recent iOS changes. As of this writing the current version is 6.1.0. Version 6.0.0 of cordova-ios moved <code>WKWebView</code> support into <code>cordova-ios</code> and removed <code>UIWebView</code> code. Due to this change, the <code>cordova-plugin-wkwebview-engine</code> plugin is obsolete and will not work with this release. If you have this plugin installed, it is safe to remove with <code>cordova plugin remove cordova-plugin-wkwebview-engine</code>.</p>
+
+<p>Additionaly, <code>WKURLSchemeHandler</code> support has been introduced with this release. Serving your app content through a custom scheme fixes CORS issues that exist because of the strict security policies that <code>WKWebView</code> has applied to the <code>file</code> scheme. You can easily configure your Cordova project to use a custom scheme by setting the preference options <code>scheme</code> and <code>hostname</code> in the <code>config.xml</code> file. <strong>Bear in mind that running your app with a custom URL scheme changes the origin of your web code and you will lose access to web storage, such as local storage, indexed DB, etc.</strong></p>
+<div class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt">&lt;preference</span> <span class="na">name=</span><span class="s">"scheme"</span> <span class="na">value=</span><span class="s">"app"</span> <span class="nt">/&gt;</span>
+<span class="nt">&lt;preference</span> <span class="na">name=</span><span class="s">"hostname"</span> <span class="na">value=</span><span class="s">"localhost"</span> <span class="nt">/&gt;</span>
+</code></pre></div>
+<p>It is important to know that with the introduction of <code>WKURLSchemeHandler</code>, iOS 10 support has been dropped.</p>
+
+<h2>Still getting the warning?</h2>
+
+<p>If you are still getting the warning, it is most likely one or more plugins in your project still references <code>UIWebView</code>. You will need to identify which plugins contain <code>UIWebView</code> code and contact those plugin&#39;s developers through their support channel (for instance their plugin&#39;s repo). They will need to fix their plugins by either removing the references or wrap them with the new flag.</p>
+
+<h2>Using other WKWebView plugin</h2>
+
+<p>The official Apache WKWebView plugin is no longer needed with these <code>cordova-ios</code> versions since <code>WKWebView</code> has been integrated and <code>UIWebView</code> is removed. There are other WKWebView plugins that can be used. Make sure they have been updated and use the latest version. If you have any issues or usage questions with their plugins, please read their docs and request help through their support channels.</p>
+
+<h2>CORS issues</h2>
+
+<p>If you experience any CORS issues Cordova PMC member Norman Breau published a <a href="https://breautek.com/2020/07/14/enabling-cors/">post on his blog</a> with a good explanation of CORS.</p>
+
+<h2>Weview issues</h2>
+
+<p>If using a custom scheme, <code>WKWebView</code> won&#39;t allow to load file urls in img/video tags (nor fetch them, nor anything). <code>cordova-ios</code> added a helper method to convert file URLs to URLs that have the scheme and <code>WKWebView</code> can understand.</p>
+
+<p>window.WkWebView.convertFilePath(&#39;your/file/path&#39;);</p>
+
+        </div>
+    </section>
+    <footer>
+        <div class="row">
+            <div class="col-sm-6">
+                
+                    <a href="/announcements/2020/07/04/cordova-common-release-4.0.2.html">Previous</a>
+                    <br>
+                    <br>
+                    <a class="title" href="/announcements/2020/07/04/cordova-common-release-4.0.2.html">Cordova Common 4.0.2 Released!</a>
+                    <div class="date"> 04 Jul 2020 - By Bryan Ellis </div>
+                    <p class="content">
+                        We are happy to announce that cordova-common@4.0.2 was released in July 2020....
+                    </p>
+                
+            </div>
+            <div class="col-sm-6">
+                
+            </div>
+        </div>
+    </footer>
+    <div class="disqus">
+        <div id="disqus_thread"></div>
+<script type="text/javascript">
+    /* * * CONFIGURATION VARIABLES * * */
+    var disqus_shortname = 'cordovablogs';
+
+    /* * * DON'T EDIT BELOW THIS LINE * * */
+    (function() {
+        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+        dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+    })();
+</script>
+<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
+
+    </div>
+</div>
+
+</div>
+
+</div>
+
+<div class="blue-divider"></div>
+<footer>
+    <div class="container">
+        <div class="row">
+    <div class="col-sm-9">
+        <h1>More Resources</h1>
+        <div class="row">
+            <div class="col-sm-4">
+                <h2>General</h2>
+                <ul class="nav">
+                    <li>
+                        <a target="_blank" href="https://projects.apache.org/project.html?cordova">Apache Project Page</a>
+                    </li>
+                    <li>
+                        <a href="http://www.apache.org/dyn/closer.cgi/cordova">Source Distribution</a>
+                    </li>
+                    <li>
+                        <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0">License</a>
+                    </li>
+                    <li>
+                        <a href="/artwork">Artwork</a>
+                    </li>
+                </ul>
+            </div>
+            <div class="col-sm-4">
+                <h2>Development</h2>
+                <ul class="nav">
+                    <li><a target="_blank" href="https://github.com/apache?utf8=%E2%9C%93&amp;q=cordova-">Source Code</a></li>
+                    <li><a target="_blank" href="https://issues.apache.org/jira/browse/CB/">Issue Tracker</a></li>
+                    <li><a target="_blank" href="http://stackoverflow.com/questions/tagged/cordova">Stack Overflow</a></li>
+                    <li><a href="/contact">Mailing List</a></li>
+                    <li><a href="/contribute/nightly_builds.html">Nightly builds</a></li>
+                </ul>
+            </div>
+            <div class="col-sm-4">
+                <h2>Apache Software Foundation</h2>
+                <ul class="nav">
+                    <li>
+                        <a target="_blank" href="http://www.apache.org/">About ASF</a>
+                    </li>
+                    <li>
+                        <a target="_blank" href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+                    </li>
+                    <li>
+                        <a target="_blank" href="http://www.apache.org/foundation/thanks.html">Thanks</a>
+                    </li>
+                    <li>
+                        <a target="_blank" href="http://www.apache.org/security/">Security</a>
+                    </li>
+                </ul>
+            </div>
+        </div>
+    </div>
+    <div class="col-sm-3">
+        <h1>Contribute</h1>
+        <p style="padding-top:20px"><strong>Help Cordova move forward!</strong></p>
+        <p>Report bugs, improve the docs, or contribute to the code.</p>
+        <a href="/contribute" class="btn btn-lg btn-primary">
+            Learn More
+        </a>
+        <p style="padding-top:20px"> <a href="https://twitter.com/apachecordova" class="twitter-follow-button" data-show-count="false">Follow @apachecordova</a></p>
+        <script async defer src="https://slack-cordova-io.herokuapp.com/slackin.js"></script>
+    </div>
+</div>
+<p class="copyright_text">
+    Copyright &copy; 2012, 2013, 2015 The Apache Software Foundation, Licensed under the <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
+    Apache and the Apache feather logos are <a target="_blank" href="http://www.apache.org/foundation/marks/list/">trademarks</a> of The Apache Software Foundation.
+    <br/>
+    "Raleway" font used under license. For details see the <a href="/attributions/">attributions page</a>.
+</p>
+
+    </div>
+</footer>
+
+
+    <script defer type="text/javascript" src="/static/js/index.js"></script>
+    <script defer type="text/javascript" src="/static/js/twitter.js"></script>
+    
+    
+
+
+
+    
+
+
+<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
+<script type="text/javascript">
+    docsearch({
+        apiKey: '0a916ab198bd93d031aa70611271e42e',
+        indexName: 'cordova',
+        inputSelector: '#header-search-field',
+        algoliaOptions: { 'facetFilters': ["version:  9.x", "language: en"] }
+    });
+</script>
+
+</body>
+</html>

Modified: cordova/site/public/sitemap.xml
URL: http://svn.apache.org/viewvc/cordova/site/public/sitemap.xml?rev=1880072&r1=1880071&r2=1880072&view=diff
==============================================================================
--- cordova/site/public/sitemap.xml (original)
+++ cordova/site/public/sitemap.xml Mon Jul 20 11:27:00 2020
@@ -4,6 +4,11 @@
 <!-- posts -->
 
 <url>
+    <loc>https://cordova.apache.org/howto/2020/07/18/uiwebview-warning.html</loc>
+</url>
+
+
+<url>
     <loc>https://cordova.apache.org/announcements/2020/07/04/cordova-common-release-4.0.2.html</loc>
 </url>
 

Modified: cordova/site/public/static/js/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/static/js/index.js?rev=1880072&r1=1880071&r2=1880072&view=diff
==============================================================================
--- cordova/site/public/static/js/index.js (original)
+++ cordova/site/public/static/js/index.js Mon Jul 20 11:27:00 2020
@@ -77,6 +77,7 @@ function checkNotification() {
     var dates = [];
     if (lastVisit != "") {
         
+        dates.push('Sat, 18 Jul 2020 00:00:00 +0000');
         dates.push('Sat, 04 Jul 2020 00:00:00 +0000');
         dates.push('Mon, 29 Jun 2020 00:00:00 +0000');
         dates.push('Tue, 23 Jun 2020 00:00:00 +0000');



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