This is an automated email from the ASF dual-hosted git repository.

github-actions[bot] pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new c97ed208ac Deploying to asf-staging from @ 
apache/cordova-docs@5d0b6641def5d851411b2c23b3cbc188fcd4153a 🚀
c97ed208ac is described below

commit c97ed208acb5ed9f99c9cdb1fb1e8a45e20ccbf7
Author: GitToTheHub <[email protected]>
AuthorDate: Sun Oct 11 09:21:24 2026 +0000

    Deploying to asf-staging from @ 
apache/cordova-docs@5d0b6641def5d851411b2c23b3cbc188fcd4153a 🚀
---
 docs/en/latest/guide/cli/index.html               | 19 +++++++++++++++
 docs/en/latest/guide/platforms/android/index.html | 28 +++++++++++++++++++----
 docs/en/latest/guide/platforms/ios/index.html     |  7 ++++--
 feed.xml                                          |  4 ++--
 4 files changed, 49 insertions(+), 9 deletions(-)

diff --git a/docs/en/latest/guide/cli/index.html 
b/docs/en/latest/guide/cli/index.html
index bb6c53a8db..a5e4719e78 100644
--- a/docs/en/latest/guide/cli/index.html
+++ b/docs/en/latest/guide/cli/index.html
@@ -2241,10 +2241,29 @@ Error: Some of requirements check failed
 <div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>cordova build ios
 </code></pre></div></div>
 
+<h3>Passing Platform-Specific Arguments</h3>
+
+<p>When using <code>cordova build</code> or <code>cordova run</code>, you can 
pass platform-specific options (such as signing flags or Gradle parameters) by 
prefixing them with the <code>--</code> pass-through separator:</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="c"># Example passing Gradle flags on 
Android</span>
+cordova build android <span class="nt">--</span> <span 
class="nt">--gradleArg</span><span class="o">=</span><span 
class="nt">-PcdvMinSdkVersion</span><span class="o">=</span>20
+
+<span class="c"># Example passing signing flags on Android</span>
+cordova build android <span class="nt">--release</span> <span 
class="nt">--</span> <span class="nt">--packageType</span><span 
class="o">=</span>apk
+</code></pre></div></div>
+
+<blockquote>
+  <p><strong>Note for Windows users:</strong> On Windows (Command Prompt and 
PowerShell), the <code>--</code> separator must be enclosed in quotation marks 
(<code>"--"</code>) so that the shell forwards the arguments to platform build 
scripts correctly, for example:</p>
+  <div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>cordova build android <span class="nt">--release</span> 
<span class="s2">"--"</span> <span class="nt">--packageType</span><span 
class="o">=</span>apk
+</code></pre></div>  </div>
+</blockquote>
+
 <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>
+  <li><a href="../../guide/platforms/android/index.html">Android Platform 
Guide</a></li>
+  <li><a href="../../guide/platforms/ios/index.html">iOS Platform 
Guide</a></li>
 </ul>
 
 <h2>Test the App</h2>
diff --git a/docs/en/latest/guide/platforms/android/index.html 
b/docs/en/latest/guide/platforms/android/index.html
index 06f2553dfd..fbd1ec8837 100644
--- a/docs/en/latest/guide/platforms/android/index.html
+++ b/docs/en/latest/guide/platforms/android/index.html
@@ -2662,7 +2662,7 @@ C:\Users\[your user]\AppData\Local\Android\Sdk\emulator
   <li>
     <p>Using an Environment Variables:</p>
 
-    <p><strong>Example:</strong></p>
+    <p><strong>Example (Unix/macOS):</strong></p>
 
     <div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>  <span class="nb">export </span><span 
class="nv">ORG_GRADLE_PROJECT_cdvMinSdkVersion</span><span class="o">=</span>20
   cordova build android
@@ -2671,10 +2671,15 @@ C:\Users\[your user]\AppData\Local\Android\Sdk\emulator
   <li>
     <p>Using the <code>--gradleArg</code> flag with the Cordova 
<code>build</code> or <code>run</code> command:</p>
 
-    <p><strong>Example:</strong></p>
+    <p><strong>Example (Unix/macOS):</strong></p>
 
     <div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>  cordova run android <span class="nt">--</span> <span 
class="nt">--gradleArg</span><span class="o">=</span><span 
class="nt">-PcdvMinSdkVersion</span><span class="o">=</span>20
 </code></pre></div>    </div>
+
+    <p><strong>Example (Windows):</strong></p>
+
+    <div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>  cordova run android <span class="s2">"--"</span> 
<span class="nt">--gradleArg</span><span class="o">=</span><span 
class="nt">-PcdvMinSdkVersion</span><span class="o">=</span>20
+</code></pre></div>    </div>
   </li>
   <li>
     <p>Creating a <code>gradle.properties</code> in the project&#39;s Android 
platform directory</p>
@@ -2749,7 +2754,14 @@ C:\Users\[your user]\AppData\Local\Android\Sdk\emulator
 
 <p>By default, JVM args has a value of <code>-Xmx2048m</code>. To increase the 
maximum allowed memory, use the <code>-Xmx</code> JVM arg. Example given 
below:</p>
 
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>cordova build android -- --jvmargs='-Xmx4g'
+<p><strong>Example (Unix/macOS):</strong></p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>cordova build android <span class="nt">--</span> <span 
class="nt">--jvmargs</span><span class="o">=</span><span 
class="s1">'-Xmx4g'</span>
+</code></pre></div></div>
+
+<p><strong>Example (Windows):</strong></p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>cordova build android <span class="s2">"--"</span> 
<span class="nt">--jvmargs</span><span class="o">=</span><span 
class="s2">"-Xmx4g"</span>
 </code></pre></div></div>
 
 <p>The following units are supported:</p>
@@ -2851,9 +2863,15 @@ will happen regardless of whether the version code is 
taken from the <code>andro
 
 <p><em><strong>Note</strong>: You should use double <code>--</code> to 
indicate that these are platform-specific arguments.</em></p>
 
-<p>Example:</p>
+<p><strong>Example (Unix/macOS):</strong></p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>cordova run android <span class="nt">--release</span> 
<span class="nt">--</span> <span class="nt">--keystore</span><span 
class="o">=</span>../my-release-key.keystore <span 
class="nt">--storePassword</span><span class="o">=</span>password <span 
class="nt">--alias</span><span class="o">=</span>alias_name <span 
class="nt">--password</span><span class="o">=</span>password <span 
class="nt">--packa [...]
+</code></pre></div></div>
 
-<p><code>cordova run android --release -- 
--keystore=../my-release-key.keystore --storePassword=password 
--alias=alias_name --password=password --packageType=bundle</code>.</p>
+<p><strong>Example (Windows):</strong></p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>cordova run android <span class="nt">--release</span> 
<span class="s2">"--"</span> <span class="nt">--keystore</span><span 
class="o">=</span>../my-release-key.keystore <span 
class="nt">--storePassword</span><span class="o">=</span>password <span 
class="nt">--alias</span><span class="o">=</span>alias_name <span 
class="nt">--password</span><span class="o">=</span>password <span 
class="nt">--pac [...]
+</code></pre></div></div>
 
 <h3>Using <code>build.json</code></h3>
 
diff --git a/docs/en/latest/guide/platforms/ios/index.html 
b/docs/en/latest/guide/platforms/ios/index.html
index ba4fe94308..d1093fc0c4 100644
--- a/docs/en/latest/guide/platforms/ios/index.html
+++ b/docs/en/latest/guide/platforms/ios/index.html
@@ -2416,9 +2416,12 @@ and the <a 
href="https://developer.apple.com/library/prerelease/ios/documentatio
 
 <p>These parameters can be specified using the command line arguments above to 
the Cordova CLI <code>build</code> or <code>run</code> commands.</p>
 
-<p><strong>Note</strong>: You should use double <code>--</code> to indicate 
that these are platform-specific arguments, for example:</p>
+<p><strong>Note</strong>: You should use double <code>--</code> to indicate 
that these are platform-specific arguments.</p>
 
-<p><code>cordova run ios --release -- --codeSignIdentity="iPhone Developer" 
--developmentTeam=FG35JLLMXX4A --packageType=development</code>.</p>
+<p><strong>Example (Unix/macOS):</strong></p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>cordova run ios <span class="nt">--release</span> <span 
class="nt">--</span> <span class="nt">--codeSignIdentity</span><span 
class="o">=</span><span class="s2">"iPhone Developer"</span> <span 
class="nt">--developmentTeam</span><span class="o">=</span>FG35JLLMXX4A <span 
class="nt">--packageType</span><span class="o">=</span>development
+</code></pre></div></div>
 
 <h3>Using build.json</h3>
 
diff --git a/feed.xml b/feed.xml
index d81eeb57fb..dcf3ea3aaf 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>Sun, 11 Oct 2026 06:58:01 +0000</pubDate>
-    <lastBuildDate>Sun, 11 Oct 2026 06:58:01 +0000</lastBuildDate>
+    <pubDate>Sun, 11 Oct 2026 09:21:14 +0000</pubDate>
+    <lastBuildDate>Sun, 11 Oct 2026 09:21:14 +0000</lastBuildDate>
     <generator>Jekyll v4.4.1</generator>
     
       <item>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to