Author: janpio Date: Thu May 28 01:52:01 2020 New Revision: 1878206 URL: http://svn.apache.org/viewvc?rev=1878206&view=rev Log: Updated docs
Modified: cordova/site/public/docs/en/9.x/guide/cli/index.html cordova/site/public/docs/en/dev/guide/cli/index.html cordova/site/public/docs/en/dev/reference/cordova-plugin-camera/index.html cordova/site/public/feed.xml Modified: cordova/site/public/docs/en/9.x/guide/cli/index.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/9.x/guide/cli/index.html?rev=1878206&r1=1878205&r2=1878206&view=diff ============================================================================== --- cordova/site/public/docs/en/9.x/guide/cli/index.html (original) +++ cordova/site/public/docs/en/9.x/guide/cli/index.html Thu May 28 01:52:01 2020 @@ -2693,7 +2693,7 @@ but for the app to access device-level f npm and you can search for them on the <a href="/plugins/">plugin search page</a>. Some key APIs are provided by the Apache Cordova open source project and these are referred to as <a href="../../guide/support/index.html#core-plugin-apis">Core Plugin APIs</a>. You can also use the CLI to launch the search page:</p> <div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>cordova plugin search camera </code></pre></div> -<p>To add and save the camera plugin to <code>config.xml</code> and <code>package.json</code>, we will specify the npm package name for the camera plugin:</p> +<p>To add and save the camera plugin to <code>package.json</code>, we will specify the npm package name for the camera plugin:</p> <div class="highlight"><pre><code class="language-" data-lang="">$ cordova plugin add cordova-plugin-camera Fetching plugin "cordova-plugin-camera@~2.1.0" via npm Installing "cordova-plugin-camera" for android Modified: cordova/site/public/docs/en/dev/guide/cli/index.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/guide/cli/index.html?rev=1878206&r1=1878205&r2=1878206&view=diff ============================================================================== --- cordova/site/public/docs/en/dev/guide/cli/index.html (original) +++ cordova/site/public/docs/en/dev/guide/cli/index.html Thu May 28 01:52:01 2020 @@ -2701,7 +2701,7 @@ but for the app to access device-level f npm and you can search for them on the <a href="/plugins/">plugin search page</a>. Some key APIs are provided by the Apache Cordova open source project and these are referred to as <a href="../../guide/support/index.html#core-plugin-apis">Core Plugin APIs</a>. You can also use the CLI to launch the search page:</p> <div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>cordova plugin search camera </code></pre></div> -<p>To add and save the camera plugin to <code>config.xml</code> and <code>package.json</code>, we will specify the npm package name for the camera plugin:</p> +<p>To add and save the camera plugin to <code>package.json</code>, we will specify the npm package name for the camera plugin:</p> <div class="highlight"><pre><code class="language-" data-lang="">$ cordova plugin add cordova-plugin-camera Fetching plugin "cordova-plugin-camera@~2.1.0" via npm Installing "cordova-plugin-camera" for android Modified: cordova/site/public/docs/en/dev/reference/cordova-plugin-camera/index.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/reference/cordova-plugin-camera/index.html?rev=1878206&r1=1878205&r2=1878206&view=diff ============================================================================== --- cordova/site/public/docs/en/dev/reference/cordova-plugin-camera/index.html (original) +++ cordova/site/public/docs/en/dev/reference/cordova-plugin-camera/index.html Thu May 28 01:52:01 2020 @@ -3335,7 +3335,7 @@ start page from scratch and success and <ul> <li><p>Any <code>cameraDirection</code> value results in a back-facing photo. (= You can only use the back camera)</p></li> -<li><p><strong><code>allowEdit</code> is unpredictable on Android and it should not be used!</strong> The Android implementation of this plugin tries to find and use an application on the user's device to do image cropping. The plugin has no control over what application the user selects to perform the image cropping and it is very possible that the user could choose an incompatible option and cause the plugin to fail. This sometimes works because most devices come with an application that handles cropping in a way that is compatible with this plugin (Google Plus Photos), but it is unwise to rely on that being the case. If image editing is essential to your application, consider seeking a third party library or plugin that provides its own image editing utility for a more robust solution.</p></li> +<li><p><strong><code>allowEdit</code> is unpredictable on Android and it should not be used!</strong> The Android implementation of this plugin tries to find and use an application on the user's device to do image cropping. The plugin has no control over what application the user selects to perform the image cropping and it is very possible that the user could choose an incompatible option and cause the plugin to fail. This sometimes works because most devices come with an application that handles cropping in a way that is compatible with this plugin (Google Photos), but it is unwise to rely on that being the case. If image editing is essential to your application, consider seeking a third party library or plugin that provides its own image editing utility for a more robust solution.</p></li> <li><p><code>Camera.PictureSourceType.PHOTOLIBRARY</code> and <code>Camera.PictureSourceType.SAVEDPHOTOALBUM</code> both display the same photo album.</p></li> <li><p>Ignores the <code>encodingType</code> parameter if the image is unedited (i.e. <code>quality</code> is 100, <code>correctOrientation</code> is false, and no <code>targetHeight</code> or <code>targetWidth</code> are specified). The <code>CAMERA</code> source will always return the JPEG file given by the native camera and the <code>PHOTOLIBRARY</code> and <code>SAVEDPHOTOALBUM</code> sources will return the selected file in its existing encoding.</p></li> </ul> Modified: cordova/site/public/feed.xml URL: http://svn.apache.org/viewvc/cordova/site/public/feed.xml?rev=1878206&r1=1878205&r2=1878206&view=diff ============================================================================== --- cordova/site/public/feed.xml (original) +++ cordova/site/public/feed.xml Thu May 28 01:52:01 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, 22 Apr 2020 06:31:00 +0000</pubDate> - <lastBuildDate>Wed, 22 Apr 2020 06:31:00 +0000</lastBuildDate> + <pubDate>Thu, 28 May 2020 01:33:45 +0000</pubDate> + <lastBuildDate>Thu, 28 May 2020 01:33:45 +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