This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 115bc5e273 Deploying to asf-site from @
apache/cordova-docs@9a68dab14346cdde439666d731df6621ffa5c4f7 🚀
115bc5e273 is described below
commit 115bc5e273cdfa2d9c5b5a28ead29822177d214b
Author: erisu <[email protected]>
AuthorDate: Wed May 24 12:55:20 2023 +0000
Deploying to asf-site from @
apache/cordova-docs@9a68dab14346cdde439666d731df6621ffa5c4f7 🚀
---
docs/en/dev/guide/cli/index.html | 206 +++++++++++++++------------------------
feed.xml | 4 +-
2 files changed, 81 insertions(+), 129 deletions(-)
diff --git a/docs/en/dev/guide/cli/index.html b/docs/en/dev/guide/cli/index.html
index 2d51719062..4f14d79a29 100644
--- a/docs/en/dev/guide/cli/index.html
+++ b/docs/en/dev/guide/cli/index.html
@@ -2278,9 +2278,7 @@
<div id="page-toc-source">
<h1>Create your first Cordova app</h1>
-<p>This guide shows you how to create a JS/HTML Cordova application and
deploy them to
-various native mobile platforms using the <code>cordova</code> command-line
-interface (CLI). For detailed reference on Cordova command-line, review the <a
href="../../reference/cordova-cli/index.html">CLI reference</a></p>
+<p>This guide shows you how to create a JS/HTML Cordova application and
deploy them to various native mobile platforms using the <code>cordova</code>
command-line interface (CLI). For detailed reference on Cordova command-line,
review the <a href="../../reference/cordova-cli/index.html">CLI
reference</a></p>
<h2>Installing the Cordova CLI</h2>
@@ -2290,44 +2288,38 @@ interface (CLI). For detailed reference on Cordova
command-line, review the <a h
<ol>
<li>
- <p>Download and install <a
href="https://nodejs.org/en/download/">Node.js</a>. On
-installation you should be able to invoke <code>node</code> and
<code>npm</code> on your
-command line.</p>
+ <p>Download and install <a
href="https://nodejs.org/en/download/">Node.js</a>. On installation you should
be able to invoke <code>node</code> and <code>npm</code> on your line.</p>
</li>
<li>
- <p>(Optional) Download and install a <a
href="http://git-scm.com/downloads">git client</a>, if you don't
-already have one. Following installation, you should be able to invoke
<code>git</code>
-on your command line. The CLI uses it to download assets when they are
referenced using a url to a git repo.</p>
+ <p>(Optional) Download and install a <a
href="http://git-scm.com/downloads">git client</a>, if you don't already
have one. Following installation, you should be able to invoke <code>git</code>
on your command line. The CLI uses it to download assets when they are
referenced using a url to a git repo.</p>
</li>
<li>
- <p>Install the <code>cordova</code> module using <code>npm</code> utility
of Node.js. The <code>cordova</code>
-module will automatically be downloaded by the <code>npm</code> utility.</p>
+ <p>Install the <code>cordova</code> module using <code>npm</code> utility
of Node.js. The <code>cordova</code> module will automatically be downloaded by
the <code>npm</code> utility.</p>
<ul>
- <li>on OS X and Linux:
- <div class="language-bash highlighter-rouge"><div
class="highlight"><pre class="highlight"><code> <span class="nv">$
</span><span class="nb">sudo </span>npm <span class="nb">install</span> <span
class="nt">-g</span> cordova
+ <li>
+ <p>on macOS and Linux:</p>
+
+ <div class="language-bash highlighter-rouge"><div
class="highlight"><pre class="highlight"><code> npm <span
class="nb">install</span> <span class="nt">-g</span> cordova
</code></pre></div> </div>
- <p>On OS X and Linux, prefixing the <code>npm</code> command with
- <code>sudo</code> may be necessary to install this development utility in
- otherwise restricted directories such as
- <code>/usr/local/share</code>. If you are using the optional
- nvm/nave tool or have write access to the install directory,
- you may be able to omit the <code>sudo</code> prefix.</p>
+ <p>For macOS and Linux users, you might need to use the
<code>sudo</code> prefix when running the <code>npm</code> command to install
this utility in restricted directories like <code>/usr/local/share</code>.
However, if you are using the optional nvm/nave tool or have write access to
the installation directory, you may be able to omit the <code>sudo</code>
prefix.</p>
+
+ <p>It is also worth noting that it is generally recommended to avoid
using <code>sudo</code> with <code>npm</code> to prevent potential issues with
permissions and package installations.</p>
+
+ <p>Instead, it's recommended to use a version manager like nvm
(Node Version Manager) or nave to manage Node.js and npm installations, which
typically avoids the need for <code>sudo</code> when installing packages.</p>
</li>
- <li>on Windows:
- <div class="language-plaintext highlighter-rouge"><div
class="highlight"><pre class="highlight"><code> C:\>npm install -g cordova
+ <li>
+ <p>on Windows:</p>
+
+ <div class="language-bash highlighter-rouge"><div
class="highlight"><pre class="highlight"><code> C:<span
class="se">\></span>npm <span class="nb">install</span> <span
class="nt">-g</span> cordova
</code></pre></div> </div>
</li>
</ul>
- <p>The <code>-g</code> flag above tells <code>npm</code> to install
<code>cordova</code> globally. Otherwise
-it will be installed in the <code>node_modules</code> subdirectory of the
current
-working directory.</p>
+ <p>The <code>-g</code> flag above tells <code>npm</code> to install
<code>cordova</code> globally. Otherwise it will be installed in the
<code>node_modules</code> subdirectory of the current working directory.</p>
- <p>Following installation, you should be able to run
-<code>cordova</code> on the command line with no arguments and it should
-print help text.</p>
+ <p>Following installation, you should be able to run <code>cordova</code>
on the command line with no arguments and it should print help text.</p>
</li>
</ol>
@@ -2335,12 +2327,13 @@ print help text.</p>
<p>Go to the directory where you maintain your source code, and create a
cordova project:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova create hello
com.example.hello HelloWorld
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>cordova create hello com.example.hello HelloWorld
</code></pre></div></div>
<p>This creates the required directory structure for your cordova app. By
default, the <code>cordova create</code> script generates a skeletal web-based
application whose home page is the project's <code>www/index.html</code>
file.</p>
<h3>See Also</h3>
+
<ul>
<li><a
href="../../reference/cordova-cli/index.html#cordova-create-command">Cordova
create command reference documentation</a></li>
<li><a
href="../../reference/cordova-cli/index.html#directory-structure">Cordova
project directory structure</a></li>
@@ -2349,58 +2342,55 @@ print help text.</p>
<h2>Add Platforms</h2>
-<p>All subsequent commands need to be run within the project's directory,
-or any subdirectories:</p>
+<p>All subsequent commands need to be run within the project's directory,
or any subdirectories:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span><span class="nb">cd
</span>hello
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nb">cd </span>hello
</code></pre></div></div>
<p>Add the platforms that you want to target your app. We will add the
'ios' and 'android' platform and ensure they get saved to
<code>config.xml</code> and <code>package.json</code>:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova platform add ios
-<span class="nv">$ </span>cordova platform add android
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>cordova platform add ios
+cordova platform add android
</code></pre></div></div>
<p>To check your current set of platforms:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova platform <span
class="nb">ls</span>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>cordova platform <span class="nb">ls</span>
</code></pre></div></div>
-<p>Running commands to add or remove platforms affects the contents of
-the project's <em>platforms</em> directory, where each specified platform
-appears as a subdirectory.</p>
+<p>Running commands to add or remove platforms affects the contents of the
project's <em>platforms</em> directory, where each specified platform
appears as a subdirectory.</p>
<blockquote>
- <p>Note: When using the CLI to build your application, you should
-<em>not</em> edit any files in the <code>/platforms/</code> directory. The
files
-in this directory are routinely overwritten when preparing
-applications for building, or when plugins are re-installed.</p>
+ <p>Note: When using the CLI to build your application, you should
<em>not</em> edit any files in the <code>/platforms/</code> directory. The
files in this directory are routinely overwritten when preparing applications
for building, or when plugins are re-installed.</p>
</blockquote>
-<h3>See Also</h3>
+<p><strong>See Also:</strong></p>
+
<ul>
<li><a
href="../../reference/cordova-cli/index.html#cordova-platform-command">Cordova
platform command reference documentation</a></li>
</ul>
<h2>Install pre-requisites for building</h2>
+
<p>To build and run apps, you need to install SDKs for each platform you wish
to target. Alternatively, if you are using browser for development you can use
<code>browser</code> platform which does not require any platform SDKs.</p>
<p>To check if you satisfy requirements for building the platform:</p>
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>$ cordova requirements
-Requirements check results for android:
-Java JDK: installed .
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova requirements
+Requirements check results <span class="k">for </span>android:
+Java JDK: installed <span class="nb">.</span>
Android SDK: installed
-Android target: installed android-19,android-21,android-22,android-23,Google
Inc.:Google APIs:19,Google Inc.:Google APIs (x86 System Image):19,Google
Inc.:Google APIs:23
+Android target: installed android-19,android-21,android-22,android-23,Google
Inc.:Google APIs:19,Google Inc.:Google APIs <span class="o">(</span>x86 System
Image<span class="o">)</span>:19,Google Inc.:Google APIs:23
Gradle: installed
-Requirements check results for ios:
-Apple OS X: not installed
-Cordova tooling for iOS requires Apple OS X
+Requirements check results <span class="k">for </span>ios:
+Apple macOS: not installed
+Cordova tooling <span class="k">for </span>iOS requires Apple macOS
Error: Some of requirements check failed
</code></pre></div></div>
-<h3>See Also</h3>
+<p><strong>See Also:</strong></p>
+
<ul>
<li><a
href="../../guide/platforms/android/index.html#requirements-and-support">Android
platform requirements</a></li>
<li><a
href="../../guide/platforms/ios/index.html#requirements-and-support">iOS
platform requirements</a></li>
@@ -2408,53 +2398,46 @@ Error: Some of requirements check failed
<h2>Build the App</h2>
-<p>By default, <code>cordova create</code> script generates a skeletal
web-based application whose start page is the project's
<code>www/index.html</code> file. Any
-initialization should be specified as part of the <a
href="../../cordova/events/events.html#deviceready">deviceready</a> event
handler defined in <code>www/js/index.js</code>.</p>
+<p>By default, <code>cordova create</code> script generates a skeletal
web-based application whose start page is the project's
<code>www/index.html</code> file. Any initialization should be specified as
part of the <a
href="../../cordova/events/events.html#deviceready">deviceready</a> event
handler defined in <code>www/js/index.js</code>.</p>
<p>Run the following command to build the project for <em>all</em>
platforms:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova build
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>cordova build
</code></pre></div></div>
<p>You can optionally limit the scope of each build to specific platforms -
'ios' in this case:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova build ios
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>cordova build ios
</code></pre></div></div>
-<h3>See Also</h3>
+<p><strong>See Also:</strong></p>
+
<ul>
<li><a
href="../../reference/cordova-cli/index.html#cordova-build-command">Cordova
build command reference documentation</a></li>
</ul>
<h2>Test the App</h2>
-<p>SDKs for mobile platforms often come bundled with emulators that
-execute a device image, so that you can launch the app from the home
-screen and see how it interacts with many platform features. Run a
-command such as the following to rebuild the app and view it within a
-specific platform's emulator:</p>
+<p>SDKs for mobile platforms often come bundled with emulators that execute a
device image, so that you can launch the app from the home screen and see how
it interacts with many platform features. Run a command such as the following
to rebuild the app and view it within a specific platform's emulator:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova emulate android
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>cordova emulate android
</code></pre></div></div>
<p><img src="/static/img/guide/cli/android_emulate_init.png" alt="" /></p>
-<p>Following up with the <code>cordova emulate</code> command refreshes the
emulator
-image to display the latest application, which is now available for
-launch from the home screen:</p>
+<p>Following up with the <code>cordova emulate</code> command refreshes the
emulator image to display the latest application, which is now available for
launch from the home screen:</p>
<p><img src="/static/img/guide/cli/android_emulate_install.png" alt="" /></p>
-<p>Alternately, you can plug the handset into your computer and test the
-app directly:</p>
+<p>Alternately, you can plug the handset into your computer and test the app
directly:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova run android
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>cordova run android
</code></pre></div></div>
-<p>Before running this command, you need to set up the device for
-testing, following procedures that vary for each platform.</p>
+<p>Before running this command, you need to set up the device for testing,
following procedures that vary for each platform.</p>
+
+<p><strong>See Also:</strong></p>
-<h3>See Also</h3>
<ul>
<li><a
href="../../guide/platforms/android/index.html#setting-up-an-emulator">Setting
up Android emulator</a></li>
<li><a
href="../../reference/cordova-cli/index.html#cordova-run-command">Cordova run
command reference documentation</a></li>
@@ -2463,42 +2446,33 @@ testing, following procedures that vary for each
platform.</p>
<h2>Add Plugins</h2>
-<p>You can modify the default generated app to take advantage of standard web
technologies,
-but for the app to access device-level features, you need to add plugins.</p>
+<p>You can modify the default generated app to take advantage of standard web
technologies, but for the app to access device-level features, you need to add
plugins.</p>
-<p>A <em>plugin</em> exposes a Javascript API for native SDK functionality.
Plugins are typically hosted on
-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="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova plugin search camera
-</code></pre></div></div>
+<p>A <em>plugin</em> exposes a Javascript API for native SDK functionality.
Plugins are typically hosted on 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>.</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="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>$ cordova plugin add cordova-plugin-camera
-Fetching plugin "cordova-plugin-camera@~2.1.0" via npm
-Installing "cordova-plugin-camera" for android
-Installing "cordova-plugin-camera" for ios
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova plugin add
cordova-plugin-camera
+Fetching plugin <span class="s2">"cordova-plugin-camera@~2.1.0"</span> via npm
+Installing <span class="s2">"cordova-plugin-camera"</span> <span class="k">for
</span>android
+Installing <span class="s2">"cordova-plugin-camera"</span> <span class="k">for
</span>ios
</code></pre></div></div>
<p>Plugins can also be added using a directory or a git repo.</p>
<blockquote>
- <p><strong>NOTE</strong>: The CLI adds plugin code as appropriate for each
platform.
-If you want to develop with lower-level shell tools or platform SDKs
-as discussed in the <a href="../overview/index.html">Overview</a>, you need to
run the Plugman utility to
-add plugins separately for each platform. (For more information, see
-<a href="../../plugin_ref/plugman.html">Using Plugman to Manage
Plugins</a>.)</p>
+ <p><strong>NOTE</strong>: The CLI adds plugin code as appropriate for each
platform. If you want to develop with lower-level shell tools or platform SDKs
as discussed in the <a href="../overview/index.html">Overview</a>, you need to
run the Plugman utility to add plugins separately for each platform. (For more
information, see <a href="../../plugin_ref/plugman.html">Using Plugman to
Manage Plugins</a>.)</p>
</blockquote>
-<p>Use <code>plugin ls</code> (or <code>plugin list</code>, or
<code>plugin</code> by itself) to view
-currently installed plugins. Each displays by its identifier:</p>
+<p>Use <code>plugin ls</code> (or <code>plugin list</code>, or
<code>plugin</code> by itself) to view currently installed plugins. Each
displays by its identifier:</p>
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>$ cordova plugin ls
-cordova-plugin-camera 2.1.0 "Camera"
-cordova-plugin-whitelist 1.2.1 "Whitelist"
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova plugin <span
class="nb">ls
+</span>cordova-plugin-camera 2.1.0 <span class="s2">"Camera"</span>
+cordova-plugin-whitelist 1.2.1 <span class="s2">"Whitelist"</span>
</code></pre></div></div>
-<h3>See Also</h3>
+<p><strong>See Also:</strong></p>
+
<ul>
<li><a
href="../../reference/cordova-cli/index.html#cordova-plugin-command">Cordova
plugin command reference documentation</a></li>
<li><a href="/plugins/">Cordova plugin search page</a></li>
@@ -2507,75 +2481,53 @@ cordova-plugin-whitelist 1.2.1 "Whitelist"
<h2>Using <em>merges</em> to Customize Each Platform</h2>
-<p>While Cordova allows you to easily deploy an app for many different
-platforms, sometimes you need to add customizations. In that case,
-you don't want to modify the source files in various <code>www</code>
directories
-within the top-level <code>platforms</code> directory, because they're
regularly
-replaced with the top-level <code>www</code> directory's cross-platform
source.</p>
+<p>While Cordova allows you to easily deploy an app for many different
platforms, sometimes you need to add customizations. In that case, you
don't want to modify the source files in various <code>www</code>
directories within the top-level <code>platforms</code> directory, because
they're regularly replaced with the top-level <code>www</code>
directory's cross-platform source.</p>
-<p>Instead, the top-level <code>merges</code> directory offers a place to
specify
-assets to deploy on specific platforms. Each platform-specific
-subdirectory within <code>merges</code> mirrors the directory structure of the
-<code>www</code> source tree, allowing you to override or add files as needed.
-For example, here is how you might use <code>merges</code> to boost the default
-font size for Android devices:</p>
+<p>Instead, the top-level <code>merges</code> directory offers a place to
specify assets to deploy on specific platforms. Each platform-specific
subdirectory within <code>merges</code> mirrors the directory structure of the
<code>www</code> source tree, allowing you to override or add files as needed.
For example, here is how you might use <code>merges</code> to boost the default
font size for Android devices:</p>
<ul>
<li>
- <p>Edit the <code>www/index.html</code> file, adding a link to an
additional CSS
-file, <code>overrides.css</code> in this case:</p>
+ <p>Edit the <code>www/index.html</code> file, adding a link to an
additional CSS file, <code>overrides.css</code> in this case:</p>
<div class="language-html highlighter-rouge"><div class="highlight"><pre
class="highlight"><code> <span class="nt"><link</span> <span
class="na">rel=</span><span class="s">"stylesheet"</span> <span
class="na">type=</span><span class="s">"text/css"</span> <span
class="na">href=</span><span class="s">"css/overrides.css"</span> <span
class="nt">/></span>
</code></pre></div> </div>
</li>
<li>
- <p>Optionally create an empty <code>www/css/overrides.css</code> file,
which would
-apply for all non-Android builds, preventing a missing-file error.</p>
+ <p>Optionally create an empty <code>www/css/overrides.css</code> file,
which would apply for all non-Android builds, preventing a missing-file
error.</p>
</li>
<li>
- <p>Create a <code>css</code> subdirectory within
<code>merges/android</code>, then add a
-corresponding <code>overrides.css</code> file. Specify CSS that overrides the
-12-point default font size specified within <code>www/css/index.css</code>, for
-example:</p>
+ <p>Create a <code>css</code> subdirectory within
<code>merges/android</code>, then add a corresponding
<code>overrides.css</code> file. Specify CSS that overrides the 12-point
default font size specified within <code>www/css/index.css</code>, for
example:</p>
<div class="language-css highlighter-rouge"><div class="highlight"><pre
class="highlight"><code> <span class="nt">body</span> <span class="p">{</span>
<span class="nl">font-size</span><span class="p">:</span><span
class="m">14px</span><span class="p">;</span> <span class="p">}</span>
</code></pre></div> </div>
</li>
</ul>
-<p>When you rebuild the project, the Android version features the custom
-font size, while others remain unchanged.</p>
+<p>When you rebuild the project, the Android version features the custom font
size, while others remain unchanged.</p>
-<p>You can also use <code>merges</code> to add files not present in the
original
-<code>www</code> directory. For example, an app can incorporate a <em>back
button</em>
-graphic into the iOS interface, stored in
-<code>merges/ios/img/back_button.png</code>, while the Android version can
-instead capture <a
href="../../cordova/events/events.html#backbutton">backbutton</a> events from
the corresponding hardware
-button.</p>
+<p>You can also use <code>merges</code> to add files not present in the
original <code>www</code> directory. For example, an app can incorporate a
<em>back button</em> graphic into the iOS interface, stored in
<code>merges/ios/img/back_button.png</code>, while the Android version can
instead capture <a
href="../../cordova/events/events.html#backbutton">backbutton</a> events from
the corresponding hardware button.</p>
<h2>Updating Cordova and Your Project</h2>
-<p>After installing the <code>cordova</code> utility, you can always update it
to
-the latest version by running the following command:</p>
+<p>After installing the <code>cordova</code> utility, you can always update it
to the latest version by running the following command:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span><span class="nb">sudo
</span>npm update <span class="nt">-g</span> cordova
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>npm update <span class="nt">-g</span> cordova
</code></pre></div></div>
<p>Use this syntax to install a specific version:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span><span class="nb">sudo
</span>npm <span class="nb">install</span> <span class="nt">-g</span>
[email protected]
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>npm <span class="nb">install</span> <span
class="nt">-g</span> [email protected]
</code></pre></div></div>
<p>Run <code>cordova -v</code> to see which version is currently running. To
find the latest released cordova version, you can run:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>npm info cordova version
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>npm info cordova version
</code></pre></div></div>
<p>To update platform that you're targeting:</p>
-<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>cordova platform update
android <span class="nt">--save</span>
-<span class="nv">$ </span>cordova platform update ios <span
class="nt">--save</span>
-...etc.
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>cordova platform update android <span
class="nt">--save</span>
+cordova platform update ios <span class="nt">--save</span>
</code></pre></div></div>
diff --git a/feed.xml b/feed.xml
index 788bf0483f..e2c2b1450a 100644
--- a/feed.xml
+++ b/feed.xml
@@ -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, 24 May 2023 12:46:35 +0000</pubDate>
- <lastBuildDate>Wed, 24 May 2023 12:46:35 +0000</lastBuildDate>
+ <pubDate>Wed, 24 May 2023 12:54:10 +0000</pubDate>
+ <lastBuildDate>Wed, 24 May 2023 12:54:10 +0000</lastBuildDate>
<generator>Jekyll v4.3.2</generator>
<item>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]