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/03/26 04:02:19 UTC

svn commit: r1875684 - in /cordova/site/public: ./ docs/en/dev/guide/platforms/electron/ docs/en/dev/reference/cordova-plugin-geolocation/ docs/en/dev/reference/cordova-plugin-inappbrowser/ docs/en/dev/reference/cordova-plugin-statusbar/

Author: janpio
Date: Thu Mar 26 04:02:19 2020
New Revision: 1875684

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

Modified:
    cordova/site/public/docs/en/dev/guide/platforms/electron/index.html
    cordova/site/public/docs/en/dev/reference/cordova-plugin-geolocation/index.html
    cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/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/platforms/electron/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/guide/platforms/electron/index.html?rev=1875684&r1=1875683&r2=1875684&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/guide/platforms/electron/index.html (original)
+++ cordova/site/public/docs/en/dev/guide/platforms/electron/index.html Thu Mar 26 04:02:19 2020
@@ -2981,7 +2981,7 @@ cordova build electron <span class="nt">
 <ul>
 <li>ia32</li>
 <li>x64</li>
-<li>armv71</li>
+<li>armv7l</li>
 <li>arm64</li>
 </ul>
 

Modified: cordova/site/public/docs/en/dev/reference/cordova-plugin-geolocation/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/reference/cordova-plugin-geolocation/index.html?rev=1875684&r1=1875683&r2=1875684&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/reference/cordova-plugin-geolocation/index.html (original)
+++ cordova/site/public/docs/en/dev/reference/cordova-plugin-geolocation/index.html Thu Mar 26 04:02:19 2020
@@ -2721,6 +2721,10 @@ error, the <code>geolocationError</code>
 </code></pre></div>
 <h3>Android Quirks</h3>
 
+<p>For historic reasons, this plugin requires GPS Hardware on Android devices, so your app will not be able to run on devices without.
+If you want to use this plugin in your app, but you do not require actual GPS Hardware on the device, install the plugin using the variable <em>GPS_REQUIRED</em> set to false:</p>
+<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add cordova-plugin-geolocation --variable GPS_REQUIRED="false"
+</code></pre></div>
 <p>If Geolocation service is turned off the <code>onError</code> callback is invoked after <code>timeout</code> interval (if specified).
 If <code>timeout</code> parameter is not specified then no callback is called.</p>
 

Modified: cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html?rev=1875684&r1=1875683&r2=1875684&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html (original)
+++ cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html Thu Mar 26 04:02:19 2020
@@ -2674,11 +2674,12 @@ Only has effect if user has <strong>foot
 <li><strong>hideurlbar</strong>: set to <code>yes</code> to hide the url bar on the location toolbar, only has effect if user has location set to <code>yes</code>. The default value is <code>no</code>.</li>
 <li><strong>navigationbuttoncolor</strong>: set to a valid hex color string, for example: <code>#00ff00</code>, and it will change the color of both navigation buttons from default. Only has effect if user has location set to <code>yes</code> and not hidenavigationbuttons set to <code>yes</code>.</li>
 <li><strong>toolbarcolor</strong>: set to a valid hex color string, for example: <code>#00ff00</code>, and it will change the color the toolbar from default. Only has effect if user has location set to <code>yes</code>.</li>
-<li><strong>lefttoright</strong>: Set to <code>yes</code> to swap positions of the navigation buttons and the close button. Specifically, navigation buttons go to the left and close button to the right.</li>
+<li><strong>lefttoright</strong>: Set to <code>yes</code> to swap positions of the navigation buttons and the close button. Specifically, navigation buttons go to the right and close button to the left. Default value is <code>no</code>.</li>
 <li><strong>zoom</strong>: set to <code>yes</code> to show Android browser&#39;s zoom controls, set to <code>no</code> to hide them.  Default value is <code>yes</code>.</li>
 <li><strong>mediaPlaybackRequiresUserAction</strong>: Set to <code>yes</code> to prevent HTML5 audio or video from autoplaying (defaults to <code>no</code>).</li>
 <li><strong>shouldPauseOnSuspend</strong>: Set to <code>yes</code> to make InAppBrowser WebView to pause/resume with the app to stop background audio (this may be required to avoid Google Play issues like described in <a href="https://issues.apache.org/jira/browse/CB-11013">CB-11013</a>).</li>
 <li><strong>useWideViewPort</strong>: Sets whether the WebView should enable support for the &quot;viewport&quot; HTML meta tag or should use a wide viewport. When the value of the setting is <code>no</code>, the layout width is always set to the width of the WebView control in device-independent (CSS) pixels. When the value is <code>yes</code> and the page contains the viewport meta tag, the value of the width specified in the tag is used. If the page does not contain the tag or does not provide a width, then a wide viewport will be used. (defaults to <code>yes</code>).</li>
+<li><strong>fullscreen</strong>: Sets whether the InappBrowser WebView is displayed fullscreen or not. In fullscreen mode, the status bar is hidden. Default value is <code>yes</code>.</li>
 </ul>
 
 <p>iOS supports these additional options:</p>

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=1875684&r1=1875683&r2=1875684&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 Thu Mar 26 04:02:19 2020
@@ -2589,9 +2589,6 @@
 <p>This installation method requires cordova 5.0+</p>
 <div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add cordova-plugin-statusbar
 </code></pre></div>
-<p>Older versions of cordova can still install via the <strong>deprecated</strong> id</p>
-<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add org.apache.cordova.statusbar
-</code></pre></div>
 <p>It is also possible to install via repo url directly ( unstable )</p>
 <div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add https://github.com/apache/cordova-plugin-statusbar.git
 </code></pre></div>
@@ -2609,7 +2606,7 @@
 <li><p><strong>StatusBarBackgroundColor</strong> (color hex string, no default value). 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="">&lt;preference name="StatusBarBackgroundColor" value="#000000" /&gt;
 </code></pre></div></li>
-<li><p><strong>StatusBarStyle</strong> (status bar style, defaults to lightcontent). Set the status bar style (e.g. text color). Available options: default, lightcontent, blacktranslucent, blackopaque.</p>
+<li><p><strong>StatusBarStyle</strong> (status bar style, defaults to lightcontent). Set the status bar style (e.g. text color). Available options: <code>default</code>, <code>lightcontent</code>. <code>blacktranslucent</code> and <code>blackopaque</code> are also available, but <strong>deprecated</strong>, will be removed in next major release, use <code>lightcontent</code> instead.</p>
 <div class="highlight"><pre><code class="language-" data-lang="">&lt;preference name="StatusBarStyle" value="lightcontent" /&gt;
 </code></pre></div></li>
 <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 &quot;statusTap&quot; event (described below) and customize the behavior instead.</p>
@@ -2729,6 +2726,8 @@ StatusBar.overlaysWebView(false);
 
 <h1>StatusBar.styleBlackTranslucent</h1>
 
+<p>Note: <code>styleBlackTranslucent</code> is <strong>deprecated</strong> and will be removed in next major release, use <code>styleLightContent</code> instead.</p>
+
 <p>Use the blackTranslucent statusbar (light text, for dark backgrounds).</p>
 <div class="highlight"><pre><code class="language-" data-lang="">StatusBar.styleBlackTranslucent();
 </code></pre></div>
@@ -2742,6 +2741,8 @@ StatusBar.overlaysWebView(false);
 
 <h1>StatusBar.styleBlackOpaque</h1>
 
+<p>Note: <code>styleBlackOpaque</code> is <strong>deprecated</strong> and will be removed in next major release, use <code>styleLightContent</code> instead.</p>
+
 <p>Use the blackOpaque statusbar (light text, for dark backgrounds).</p>
 <div class="highlight"><pre><code class="language-" data-lang="">StatusBar.styleBlackOpaque();
 </code></pre></div>

Modified: cordova/site/public/feed.xml
URL: http://svn.apache.org/viewvc/cordova/site/public/feed.xml?rev=1875684&r1=1875683&r2=1875684&view=diff
==============================================================================
--- cordova/site/public/feed.xml (original)
+++ cordova/site/public/feed.xml Thu Mar 26 04:02:19 2020
@@ -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>Wed, 18 Mar 2020 09:11:02 +0000</pubDate>
-    <lastBuildDate>Wed, 18 Mar 2020 09:11:02 +0000</lastBuildDate>
+    <pubDate>Thu, 26 Mar 2020 03:43:15 +0000</pubDate>
+    <lastBuildDate>Thu, 26 Mar 2020 03:43:15 +0000</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>



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