Author: steven Date: Wed Jul 18 10:14:38 2018 New Revision: 1836155 URL: http://svn.apache.org/viewvc?rev=1836155&view=rev Log: Updated docs
Modified: cordova/site/public/docs/en/dev/guide/support/index.html cordova/site/public/docs/en/dev/reference/cordova-plugin-statusbar/index.html cordova/site/public/feed.xml Modified: cordova/site/public/docs/en/dev/guide/support/index.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/guide/support/index.html?rev=1836155&r1=1836154&r2=1836155&view=diff ============================================================================== --- cordova/site/public/docs/en/dev/guide/support/index.html (original) +++ cordova/site/public/docs/en/dev/guide/support/index.html Wed Jul 18 10:14:38 2018 @@ -2492,14 +2492,28 @@ the core plugins, additional APIs are av <tbody> <tr> <th></th> - <th colspan="20"><h2>Development Platform</h2></th> + <th colspan="20"><h2><a href="../cli/index.html">Cordova CLI</a> Development Platform</h2></th> </tr> <tr> - <th><a href="../cli/index.html">Cordova<br/>CLI</a></th> - <td data-col="android" class="y">Mac, Windows, Linux</td> - <td data-col="ios" class="y">Mac</td> - <td data-col="osx" class="y">Mac</td> - <td data-col="windows" class="y">Windows</td> + <th>Mac</th> + <td data-col="android" class="y"></td> + <td data-col="ios" class="y"></td> + <td data-col="osx" class="y"></td> + <td data-col="windows" class="n"></td> + </tr> + <tr> + <th>Windows</th> + <td data-col="android" class="y"></td> + <td data-col="ios" class="n"></td> + <td data-col="osx" class="n"></td> + <td data-col="windows" class="y"></td> + </tr> + <tr> + <th>Linux</th> + <td data-col="android" class="y"></td> + <td data-col="ios" class="n"></td> + <td data-col="osx" class="n"></td> + <td data-col="windows" class="n"></td> </tr> <tr> @@ -2616,7 +2630,7 @@ the core plugins, additional APIs are av <td data-col="android" class="y"></td> <td data-col="ios" class="y"></td> <td data-col="osx" class="n"></td> - <td data-col="windows" class="y">Windows Phone 8.1 only</td> + <td data-col="windows" class="y">WP 8.1 only</td> </tr> <tr> @@ -2624,7 +2638,7 @@ the core plugins, additional APIs are av <td data-col="android" class="y"></td> <td data-col="ios" class="y"></td> <td data-col="osx" class="n"></td> - <td data-col="windows" class="y">localStorage & indexedDB</td> + <td data-col="windows" class="y">localStorage &<br> indexedDB</td> </tr> <tr> @@ -2632,7 +2646,7 @@ the core plugins, additional APIs are av <td data-col="android" class="y"></td> <td data-col="ios" class="y"></td> <td data-col="osx" class="n"></td> - <td data-col="windows" class="y">Windows Phone 8.1 only</td> + <td data-col="windows" class="y">WP 8.1 only</td> </tr> <tr> Modified: cordova/site/public/docs/en/dev/reference/cordova-plugin-statusbar/index.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/reference/cordova-plugin-statusbar/index.html?rev=1836155&r1=1836154&r2=1836155&view=diff ============================================================================== --- cordova/site/public/docs/en/dev/reference/cordova-plugin-statusbar/index.html (original) +++ cordova/site/public/docs/en/dev/reference/cordova-plugin-statusbar/index.html Wed Jul 18 10:14:38 2018 @@ -2509,8 +2509,6 @@ <h1>cordova-plugin-statusbar</h1> -<h1>StatusBar</h1> - <blockquote> <p>The <code>StatusBar</code> object provides some functions to customize the iOS and Android StatusBar.</p> </blockquote> @@ -2533,30 +2531,36 @@ <h4>config.xml</h4> <ul> -<li><p><strong>StatusBarOverlaysWebView</strong> (boolean, defaults to true). On iOS 7, make the statusbar overlay or not overlay the WebView at startup.</p> +<li><p><strong>StatusBarOverlaysWebView</strong> (boolean, defaults to true). On iOS, make the statusbar overlay or not overlay the WebView at startup.</p> <div class="highlight"><pre><code class="language-" data-lang=""><preference name="StatusBarOverlaysWebView" value="true" /> </code></pre></div></li> -<li><p><strong>StatusBarBackgroundColor</strong> (color hex string, no default value). On iOS 7, set the background color of the statusbar by a hex string (#RRGGBB) at startup. If this value is not set, the background color will be transparent.</p> +<li><p><strong>StatusBarBackgroundColor</strong> (color hex string, no default value). On iOS, set the background color of the statusbar by a hex string (#RRGGBB) at startup. If this value is not set, the background color will be transparent.</p> <div class="highlight"><pre><code class="language-" data-lang=""><preference name="StatusBarBackgroundColor" value="#000000" /> </code></pre></div></li> -<li><p><strong>StatusBarStyle</strong> (status bar style, defaults to lightcontent). On iOS 7, set the status bar style. Available options default, lightcontent, blacktranslucent, blackopaque.</p> +<li><p><strong>StatusBarStyle</strong> (status bar style, defaults to lightcontent). On iOS, set the status bar style. Available options default, lightcontent, blacktranslucent, blackopaque.</p> <div class="highlight"><pre><code class="language-" data-lang=""><preference name="StatusBarStyle" value="lightcontent" /> </code></pre></div></li> -<li><p><strong>StatusBarDefaultScrollToTop</strong> (boolean, defaults to false). On iOS 7, allows the Cordova WebView to use default scroll-to-top behavior. Defaults to false so you can listen to the "statusTap" event (described below) and customize the behavior instead.</p> +<li><p><strong>StatusBarDefaultScrollToTop</strong> (boolean, defaults to false). On iOS, allows the Cordova WebView to use default scroll-to-top behavior. Defaults to false so you can listen to the "statusTap" event (described below) and customize the behavior instead.</p> <div class="highlight"><pre><code class="language-" data-lang=""><preference name="StatusBarDefaultScrollToTop" value="false" /> </code></pre></div></li> </ul> <h3>Android Quirks</h3> -<p>The Android 5+ guidelines specify using a different color for the statusbar than your main app color (unlike the uniform statusbar color of many iOS 7+ apps), so you may want to set the statusbar color at runtime instead via <code>StatusBar.backgroundColorByHexString</code> or <code>StatusBar.backgroundColorByName</code>. One way to do that would be:</p> +<p>The Android 5+ guidelines specify using a different color for the statusbar than your main app color (unlike the uniform statusbar color of many iOS apps), so you may want to set the statusbar color at runtime instead via <code>StatusBar.backgroundColorByHexString</code> or <code>StatusBar.backgroundColorByName</code>. One way to do that would be:</p> <div class="highlight"><pre><code class="language-js" data-lang="js"><span class="k">if</span> <span class="p">(</span><span class="nx">cordova</span><span class="p">.</span><span class="nx">platformId</span> <span class="o">==</span> <span class="s1">'android'</span><span class="p">)</span> <span class="p">{</span> <span class="nx">StatusBar</span><span class="p">.</span><span class="nx">backgroundColorByHexString</span><span class="p">(</span><span class="s2">"#333"</span><span class="p">);</span> <span class="p">}</span> </code></pre></div> +<p>It is also possible to make the status bar semi-transparent. For example, a black status bar with 20% opacity:</p> +<div class="highlight"><pre><code class="language-js" data-lang="js"><span class="k">if</span> <span class="p">(</span><span class="nx">cordova</span><span class="p">.</span><span class="nx">platformId</span> <span class="o">==</span> <span class="s1">'android'</span><span class="p">)</span> <span class="p">{</span> + <span class="nx">StatusBar</span><span class="p">.</span><span class="nx">overlaysWebView</span><span class="p">(</span><span class="kc">true</span><span class="p">);</span> + <span class="nx">StatusBar</span><span class="p">.</span><span class="nx">backgroundColorByHexString</span><span class="p">(</span><span class="s1">'#33000000'</span><span class="p">);</span> +<span class="p">}</span> +</code></pre></div> <h2>Hiding at startup</h2> -<p>During runtime you can use the StatusBar.hide function below, but if you want the StatusBar to be hidden at app startup, you must modify your app's Info.plist file.</p> +<p>During runtime you can use the StatusBar.hide function below, but if you want the StatusBar to be hidden at app startup on iOS, you must modify your app's Info.plist file.</p> <p>Add/edit these two attributes if not present. Set <strong>"Status bar is initially hidden"</strong> to <strong>"YES"</strong> and set <strong>"View controller-based status bar appearance"</strong> to <strong>"NO"</strong>. If you edit it manually without Xcode, the keys and values are:</p> <div class="highlight"><pre><code class="language-" data-lang=""><key>UIStatusBarHidden</key> @@ -2600,17 +2604,18 @@ function onDeviceReady() { <h1>StatusBar.overlaysWebView</h1> -<p>On iOS 7, make the statusbar overlay or not overlay the WebView.</p> +<p>Make the statusbar overlay or not overlay the WebView.</p> <div class="highlight"><pre><code class="language-" data-lang="">StatusBar.overlaysWebView(true); </code></pre></div> <h2>Description</h2> -<p>On iOS 7, set to false to make the statusbar appear like iOS 6. Set the style and background color to suit using the other functions.</p> +<p>Set to true to make the statusbar overlay on top of your app. Ensure that you adjust your styling accordingly so that your app's title bar or content is not covered. Set to false to make the statusbar solid and not overlay your app. You can then set the style and background color to suit using the other functions.</p> <h2>Supported Platforms</h2> <ul> -<li>iOS</li> +<li>iOS 7+</li> +<li>Android 5+</li> </ul> <h2>Quick Example</h2> @@ -2626,7 +2631,7 @@ StatusBar.overlaysWebView(false); <ul> <li>iOS</li> -<li>Android 6+ </li> +<li>Android 6+</li> <li>Windows Phone 7</li> <li>Windows Phone 8</li> <li>Windows Phone 8.1</li> @@ -2641,7 +2646,7 @@ StatusBar.overlaysWebView(false); <ul> <li>iOS</li> -<li>Android 6+ </li> +<li>Android 6+</li> <li>Windows Phone 7</li> <li>Windows Phone 8</li> <li>Windows Phone 8.1</li> @@ -2656,7 +2661,7 @@ StatusBar.overlaysWebView(false); <ul> <li>iOS</li> -<li>Android 6+ </li> +<li>Android 6+</li> <li>Windows Phone 7</li> <li>Windows Phone 8</li> <li>Windows Phone 8.1</li> @@ -2671,7 +2676,7 @@ StatusBar.overlaysWebView(false); <ul> <li>iOS</li> -<li>Android 6+ </li> +<li>Android 6+</li> <li>Windows Phone 7</li> <li>Windows Phone 8</li> <li>Windows Phone 8.1</li> @@ -2679,7 +2684,7 @@ StatusBar.overlaysWebView(false); <h1>StatusBar.backgroundColorByName</h1> -<p>On iOS 7, when you set StatusBar.statusBarOverlaysWebView to false, you can set the background color of the statusbar by color name.</p> +<p>On iOS, when you set StatusBar.overlaysWebView to false, you can set the background color of the statusbar by color name.</p> <div class="highlight"><pre><code class="language-" data-lang="">StatusBar.backgroundColorByName("red"); </code></pre></div> <p>Supported color names are:</p> @@ -2704,9 +2709,9 @@ StatusBar.overlaysWebView(false); <div class="highlight"><pre><code class="language-" data-lang="">StatusBar.backgroundColorByHexString("#333"); // => #333333 StatusBar.backgroundColorByHexString("#FAB"); // => #FFAABB </code></pre></div> -<p>On iOS 7, when you set StatusBar.statusBarOverlaysWebView to false, you can set the background color of the statusbar by a hex string (#RRGGBB).</p> +<p>On iOS, when you set StatusBar.overlaysWebView to false, you can set the background color of the statusbar by a hex string (#RRGGBB).</p> -<p>On WP7 and WP8 you can also specify values as #AARRGGBB, where AA is an alpha value</p> +<p>On Android, when StatusBar.overlaysWebView is true, and on WP7&8, you can also specify values as #AARRGGBB, where AA is an alpha value.</p> <h2>Supported Platforms</h2> Modified: cordova/site/public/feed.xml URL: http://svn.apache.org/viewvc/cordova/site/public/feed.xml?rev=1836155&r1=1836154&r2=1836155&view=diff ============================================================================== --- cordova/site/public/feed.xml (original) +++ cordova/site/public/feed.xml Wed Jul 18 10:14:38 2018 @@ -6,8 +6,8 @@ </description> <link>https://cordova.apache.org/</link> <atom:link href="https://cordova.apache.org/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Tue, 17 Jul 2018 10:03:58 +0000</pubDate> - <lastBuildDate>Tue, 17 Jul 2018 10:03:58 +0000</lastBuildDate> + <pubDate>Wed, 18 Jul 2018 09:47:41 +0000</pubDate> + <lastBuildDate>Wed, 18 Jul 2018 09:47:41 +0000</lastBuildDate> <generator>Jekyll v2.5.3</generator> <item> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org