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 ab7476ce3d Deploying to asf-site from @
apache/cordova-docs@f686a5850797d6104ccb10ab9e1eb951508c3592 🚀
ab7476ce3d is described below
commit ab7476ce3d083bb8f4249c80d60c141c94df801c
Author: erisu <[email protected]>
AuthorDate: Mon May 29 14:05:19 2023 +0000
Deploying to asf-site from @
apache/cordova-docs@f686a5850797d6104ccb10ab9e1eb951508c3592 🚀
---
docs/en/dev/config_ref/images.html | 6 +-
docs/en/dev/config_ref/index.html | 118 +++++++++++++++++++------------------
docs/en/dev/plugin_ref/spec.html | 44 +++++++-------
feed.xml | 4 +-
plugins/index.html | 1 -
static/css/main.css | 13 ++++
6 files changed, 102 insertions(+), 84 deletions(-)
diff --git a/docs/en/dev/config_ref/images.html
b/docs/en/dev/config_ref/images.html
index fc4754acb0..16a5e19c7c 100644
--- a/docs/en/dev/config_ref/images.html
+++ b/docs/en/dev/config_ref/images.html
@@ -2278,7 +2278,9 @@
<div id="page-toc-source">
- <h1>Customize Icons</h1>
+ <svg xmlns="http://www.w3.org/2000/svg" hidden=""
style="display: none !important"><symbol id="browser" viewBox="461.6 9.3 30
30"><path d="M476.7 10.3c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3
14-14-6.3-14-14-14m9.8 9h-5.1c-.3-2.1-.8-4-1.4-5.5 2.8.9 5.1 2.9 6.5 5.5m-6.8
5-.1 3h-5.8l-.1-3 .1-3h5.8l.1 3m-3 11h-.9c-.6-1.1-1.4-3.1-1.8-6h5.3c-.4 2.9-1.1
4.8-1.8 6h-.8m-2.7-16c.4-2.9 1.1-4.8 1.8-6h1.8c.6 1.1 1.4 3.1 1.8
6H474zm-.6-5.5c-.6 1.5-1.1 3.4-1.4 5.5h-5.1c1.3-2.6 3.6-4.6 6 [...]
+
+<h1>Customize Icons</h1>
<p>This section shows how to configure an application's icon for various
platforms. Documentation about splash screen images can be found in the
Cordova-Plugin-Splashscreen documentation <a
href="../reference/cordova-plugin-splashscreen/">Splashscreen plugin
docs</a>.</p>
@@ -2316,7 +2318,7 @@ If you do not specify an icon, the Apache Cordova logo is
used.</p>
</tr>
<tr>
<td>target</td>
- <td><em>Optional</em> <br /> ==Electron== <br /> Set target to supply
unique icons for <code>application</code> and <code>installer</code></td>
+ <td><em>Optional</em> <br /> <svg class="platform-icon electron"><use
href="#electron"></use></svg> <br /> Set target to supply unique icons for
<code>application</code> and <code>installer</code></td>
</tr>
</tbody>
</table>
diff --git a/docs/en/dev/config_ref/index.html
b/docs/en/dev/config_ref/index.html
index 8b05484efc..bf645c9c47 100644
--- a/docs/en/dev/config_ref/index.html
+++ b/docs/en/dev/config_ref/index.html
@@ -2276,7 +2276,9 @@
<div id="page-toc-source">
- <h1>Config.xml</h1>
+ <svg xmlns="http://www.w3.org/2000/svg" hidden=""
style="display: none !important"><symbol id="browser" viewBox="461.6 9.3 30
30"><path d="M476.7 10.3c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3
14-14-6.3-14-14-14m9.8 9h-5.1c-.3-2.1-.8-4-1.4-5.5 2.8.9 5.1 2.9 6.5 5.5m-6.8
5-.1 3h-5.8l-.1-3 .1-3h5.8l.1 3m-3 11h-.9c-.6-1.1-1.4-3.1-1.8-6h5.3c-.4 2.9-1.1
4.8-1.8 6h-.8m-2.7-16c.4-2.9 1.1-4.8 1.8-6h1.8c.6 1.1 1.4 3.1 1.8
6H474zm-.6-5.5c-.6 1.5-1.1 3.4-1.4 5.5h-5.1c1.3-2.6 3.6-4.6 6 [...]
+
+<h1>Config.xml</h1>
<p><code>config.xml</code> is a global configuration file that controls many
aspects
of a cordova application's behavior. This
@@ -2327,27 +2329,27 @@ platform. See <a href="images.html">Customize icons
topic</a> for more informati
<td><em>Required</em> <br /> Full version number expressed in
major/minor/patch notation.</td>
</tr>
<tr>
- <td>android-versionCode(string) <br /> ==Android==</td>
+ <td>android-versionCode(string) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td>Alternative version for Android. Sets the <a
href="https://developer.android.com/tools/publishing/versioning.html">version
code</a> for the application. See <a
href="../guide/platforms/android/index.html#setting-the-version-code">the
Android guide</a> for information on how this attribute may be modified.</td>
</tr>
<tr>
- <td>ios-CFBundleVersion(string) <br /> ==iOS==</td>
+ <td>ios-CFBundleVersion(string) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td>Alternative version for iOS. For further details, see <a
href="https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102364">iOS
versioning</a>.</td>
</tr>
<tr>
- <td>android-packageName(string) <br /> ==Android==</td>
+ <td>android-packageName(string) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td>Alternative package name for Android, overrides <code>id</code>.</td>
</tr>
<tr>
- <td>ios-CFBundleIdentifier(string) <br /> ==iOS==</td>
+ <td>ios-CFBundleIdentifier(string) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td>Alternative bundle id for iOS. Overrides <code>id</code>.</td>
</tr>
<tr>
- <td>defaultlocale <br /> ==iOS==</td>
+ <td>defaultlocale <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>Specified the default language of the app, as an IANA language
code.</td>
</tr>
<tr>
- <td>android-activityName(string) <br /> ==Android==</td>
+ <td>android-activityName(string) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td>Set the activity name for your app in AndroidManifest.xml. Note that
this is only set once after the Android platform is first added.</td>
</tr>
<tr>
@@ -2657,131 +2659,131 @@ and will be indicated as such.</p>
</thead>
<tbody>
<tr>
- <td>AllowInlineMediaPlayback(boolean) <br /> ==iOS==</td>
+ <td>AllowInlineMediaPlayback(boolean) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to allow HTML5 media
playback to appear inline within the screen layout, using browser-supplied
controls rather than native controls. For this to work, add the
<code>playsinline</code> attribute to any <code><video></code> elements.
<em>NOTE</em>: Prior to iOS 10, <code><video></code> elements need to use
the <code>webkit-playsinline</code> attribute name instead.</td>
</tr>
<tr>
- <td>AllowNewWindows(boolean) <br /> ==iOS==</td>
+ <td>AllowNewWindows(boolean) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to allow JavaScript
<code>window.open</code> and HTML <code>target="_blank"</code> links to open a
new view overlaying the web view.</td>
</tr>
<tr>
- <td>AndroidLaunchMode(string) <br /> ==Android==</td>
+ <td>AndroidLaunchMode(string) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td><em>Default: singleTop</em> <br /> Allowed values: standard,
singleTop, singleTask, singleInstance <br /> Sets the Activity
android:launchMode attribute. This changes what happens when the app is
launched from app icon or intent and is already running.</td>
</tr>
<tr>
- <td>AndroidInsecureFileModeEnabled(boolean) <br /> ==Android==</td>
+ <td>AndroidInsecureFileModeEnabled(boolean) <br /> <svg
class="platform-icon android"><use href="#android"></use></svg></td>
<td><em>Default: false</em> <br /> If set to <code>true</code> loading
<code>file:///</code> URLs is allowed. <strong>Note</strong>: Enabling this
setting allows malicious scripts loaded in a <code>file:///</code> context to
launch cross-site scripting attacks, either accessing arbitrary local files
including WebView cookies, app private data or even credentials used on
arbitrary web sites.</td>
</tr>
<tr>
- <td>android-maxSdkVersion(integer) <br /> ==Android==</td>
+ <td>android-maxSdkVersion(integer) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td><em>Default: Not Specified</em> <br /> Sets the
<code>maxSdkVersion</code> attribute of the <code><uses-sdk></code> tag
in the project's <code>AndroidManifest.xml</code> (see <a
href="https://developer.android.com/guide/topics/manifest/uses-sdk-element.html">here</a>).</td>
</tr>
<tr>
- <td>android-minSdkVersion(integer) <br /> ==Android==</td>
+ <td>android-minSdkVersion(integer) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td><em>Default: Dependent on cordova-android Version</em> <br /> Sets
the <code>minSdkVersion</code> attribute of the <code><uses-sdk></code>
tag in the project's <code>AndroidManifest.xml</code> (see <a
href="https://developer.android.com/guide/topics/manifest/uses-sdk-element.html">here</a>).</td>
</tr>
<tr>
- <td>android-targetSdkVersion(integer) <br /> ==Android==</td>
+ <td>android-targetSdkVersion(integer) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td><em>Default: Dependent on cordova-android Version</em> <br /> Sets
the <code>targetSdkVersion</code> attribute of the
<code><uses-sdk></code> tag in the project's
<code>AndroidManifest.xml</code> (see <a
href="https://developer.android.com/guide/topics/manifest/uses-sdk-element.html">here</a>).</td>
</tr>
<tr>
- <td>AppendUserAgent(string) <br /> ==Android== ==iOS==</td>
+ <td>AppendUserAgent(string) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>If set, the value will append to the end of old UserAgent of
webview. When using with OverrideUserAgent, this value will be ignored.</td>
</tr>
<tr>
- <td>BackgroundColor(string) <br /> ==Android== ==iOS==</td>
+ <td>BackgroundColor(string) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>Sets the app's background color. Supports a four-byte hex value,
with the first byte representing the alpha channel, and standard RGB values for
the following three bytes. <br /><strong>Note</strong>:
<code>transparent</code> value will set the application tile background to the
accent color on Windows.</td>
</tr>
<tr>
- <td>BackupWebStorage(string) <br /> ==iOS==</td>
+ <td>BackupWebStorage(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: cloud</em> <br /> Allowed values: none, local, cloud.
<br /> Set to cloud to allow web storage data to backup via iCloud. Set to
local to allow only local backups via iTunes sync. Set to none prevent web
storage backups.</td>
</tr>
<tr>
- <td>CordovaWebViewEngine(string) <br /> ==iOS==</td>
+ <td>CordovaWebViewEngine(string) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: CDVWebViewEngine</em> <br /> This sets the WebView
engine plugin to be used to render the host app. The plugin must conform to the
CDVWebViewEngineProtocol protocol. The 'value' here should match the
'feature' name of the WebView engine plugin that is installed. This
preference usually would be set by the WebView engine plugin that is installed,
automatically.</td>
</tr>
<tr>
- <td>DefaultVolumeStream(string) <br /> ==Android==</td>
+ <td>DefaultVolumeStream(string) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td><em>Default: default</em> <br /> Added in cordova-android 3.7.0,
This preference sets which volume the hardware volume buttons link to. By
default this is "call" for phones and "media" for tablets.
Set this to "media" to have your app's volume buttons always
change the media volume. Note that when using Cordova's media plugin, the
volume buttons will dynamically change to controlling the media volume when any
Media objects are active.</td>
</tr>
<tr>
- <td>DisallowOverscroll(boolean) <br /> ==iOS== ==Android==</td>
+ <td>DisallowOverscroll(boolean) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Default: false</em> <br /> Set to <strong>true</strong> if you
don't want the interface to display any feedback when users scroll past the
beginning or end of content. On iOS, overscroll gestures cause content to
bounce back to its original position. on Android, they produce a more subtle
glowing effect along the top or bottom edge of the content. <br /></td>
</tr>
<tr>
- <td>EnableViewportScale(boolean) <br /> ==iOS==</td>
+ <td>EnableViewportScale(boolean) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to allow a viewport
meta tag to either disable or restrict the range of user scaling, which is
enabled by default. Place a viewport such as the following in the HTML to
disable scaling and fit content flexibly within the rendering WebView: <br />
<code><meta name='viewport' content='width=device-width, initial-scale=1,
user-scalable=no' /></code></td>
</tr>
<tr>
- <td>ErrorUrl(URL) <br /> ==Android==</td>
+ <td>ErrorUrl(URL) <br /> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Default: null</em> <br /> If set, will display the referenced
page upon an error in the application instead of a dialog with the title
"Application Error".</td>
</tr>
<tr>
- <td>ErrorUrl(string) <br /> ==iOS==</td>
+ <td>ErrorUrl(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>If set, will display the referenced local page upon an error in the
application.</td>
</tr>
<tr>
- <td>FullScreen(boolean) <br /> ==Android==</td>
+ <td>FullScreen(boolean) <br /> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Default: false</em> <br /> Allows you to hide the status bar at
the top of the screen. <br /> <strong>Note</strong>: Recommended
platform-agnostic way to achieve this is to use the <a
href="../reference/cordova-plugin-statusbar/">StatusBar plugin</a>.</td>
</tr>
<tr>
- <td>GapBetweenPages(float) <br /> ==iOS==</td>
+ <td>GapBetweenPages(float) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: 0</em> <br /> The size of the gap, in points, between
pages.</td>
</tr>
<tr>
- <td>GradlePluginGoogleServicesEnabled (boolean) <br /> ==Android==</td>
+ <td>GradlePluginGoogleServicesEnabled (boolean) <br /> <svg
class="platform-icon android"><use href="#android"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to enable the Google
Services Gradle plugin.</td>
</tr>
<tr>
- <td>GradlePluginGoogleServicesEnabled (semver) <br /> ==Android==</td>
+ <td>GradlePluginGoogleServicesEnabled (semver) <br /> <svg
class="platform-icon android"><use href="#android"></use></svg></td>
<td><em>Default: 4.2.0</em> <br /> Set version of Google Services
Gradle plugin to be used.</td>
</tr>
<tr>
- <td>GradlePluginKotlinEnabled (boolean) <br /> ==Android==</td>
+ <td>GradlePluginKotlinEnabled (boolean) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to allow Kotlin files to
be built.</td>
</tr>
<tr>
- <td>GradlePluginKotlinCodeStyle (string) <br /> ==Android==</td>
+ <td>GradlePluginKotlinCodeStyle (string) <br /> <svg
class="platform-icon android"><use href="#android"></use></svg></td>
<td><em>Default: official</em> <br /> Allowed values: official,
obsolete<br /> Sets how the Kotlin code is formatting for readability.</td>
</tr>
<tr>
- <td>GradlePluginKotlinVersion (semver) <br /> ==Android==</td>
+ <td>GradlePluginKotlinVersion (semver) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td><em>Default: 1.3.50</em> <br /> Set the version of the Kotlin Gradle
plugin to be used.</td>
</tr>
<tr>
- <td>InAppBrowserStorageEnabled (boolean) <br /> ==Android==</td>
+ <td>InAppBrowserStorageEnabled (boolean) <br /> <svg
class="platform-icon android"><use href="#android"></use></svg></td>
<td><em>Default: true</em> <br /> Controls whether pages opened within
an InAppBrowser can access the same localStorage and WebSQL storage as pages
opened with the default browser.</td>
</tr>
<tr>
- <td>InspectableWebview(boolean) <br /> ==Android== ==iOS==</td>
+ <td>InspectableWebview(boolean) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: depends on Debug/Release build</em> <br /> On iOS 16.4
or later, enables or disables the webview inspector. Defaults to
<code>true</code> on debug builds and <code>false</code> on release builds.
This preference is ignored on iOS 16.3 and earlier; the inspector is always
enabled on debug builds and always disabled on release builds.</td>
</tr>
<tr>
- <td>KeepRunning(boolean) <br /> ==Android==</td>
+ <td>KeepRunning(boolean) <br /> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Default: true</em> <br /> Determines whether the application
stays running in the background even after a <a
href="../cordova/events/events.html#pause">pause</a> event fires. Setting this
to false does not kill the app after a <a
href="../cordova/events/events.html#pause">pause</a> event, but simply halts
execution of code within the cordova webview while the app is in the
background.</td>
</tr>
<tr>
- <td>KeyboardDisplayRequiresUserAction(boolean) <br /> ==iOS==</td>
+ <td>KeyboardDisplayRequiresUserAction(boolean) <br /> <svg
class="platform-icon ios"><use href="#ios"></use></svg></td>
<td><em>Default: true</em> <br /> Set to false to allow the keyboard to
appear when calling focus() on form inputs.</td>
</tr>
<tr>
- <td>LoadUrlTimeoutValue(number in milliseconds) <br /> ==Android==</td>
+ <td>LoadUrlTimeoutValue(number in milliseconds) <br /> <svg
class="platform-icon android"><use href="#android"></use></svg></td>
<td><em>Default: 20000, 20 seconds</em> <br /> When loading a page, the
amount of time to wait before throwing a timeout error.</td>
</tr>
<tr>
- <td>LoadingDialog(string) <br /> ==Android==</td>
+ <td>LoadingDialog(string) <br /> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Default: null</em> <br /> If set, displays a dialog with the
specified title and message, and a spinner, when loading the first page of an
application. The title and message are separated by a comma in this value
string, and that comma is removed before the dialog is displayed.</td>
</tr>
<tr>
- <td>LogLevel(string) <br /> ==Android==</td>
+ <td>LogLevel(string) <br /> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Default: DEBUG</em> <br /> Allowed values: ERROR, WARN, INFO,
DEBUG, VERBOSE <br /> Sets the minimum log level through which log messages
from your application will be filtered.</td>
</tr>
<tr>
- <td>MediaPlaybackAllowsAirPlay(boolean) <br /> ==iOS==</td>
+ <td>MediaPlaybackAllowsAirPlay(boolean) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: true</em> <br /> Set to false to prevent Air Play from
being used in this view. Available in default UIWebView and WKWebView.</td>
</tr>
<tr>
- <td>MediaPlaybackRequiresUserAction(boolean) <br /> ==iOS==</td>
+ <td>MediaPlaybackRequiresUserAction(boolean) <br /> <svg
class="platform-icon ios"><use href="#ios"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to prevent HTML5 videos
or audios from playing automatically with the autoplay attribute or via
JavaScript.</td>
</tr>
<tr>
@@ -2789,67 +2791,67 @@ and will be indicated as such.</p>
<td><em>Default: default</em> <br /> Allowed values: default, landscape,
portrait <br /> Allows you to lock orientation and prevent the interface from
rotating in response to changes in orientation. <br /> <strong>NOTE:</strong>
The default value means Cordova will strip the orientation preference entry
from the platform's manifest/configuration file allowing the platform to
fallback to its default behavior. For iOS, to specify both portrait &
landscape mode you would use t [...]
</tr>
<tr>
- <td>OverrideUserAgent(string) <br /> ==Android== ==iOS==</td>
+ <td>OverrideUserAgent(string) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>If set, the value will replace the old UserAgent of webview. It is
helpful to identify the request from app/browser when requesting remote pages.
Use with caution, this may cause compatibility issues with web servers. For
most cases, use AppendUserAgent instead.</td>
</tr>
<tr>
- <td>PageLength(float) <br /> ==iOS==</td>
+ <td>PageLength(float) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: 0</em> <br /> The size of each page, in points, in the
direction that the pages flow. When PaginationMode is right to left or left to
right, this property represents the width of each page. When PaginationMode is
topToBottom or bottomToTop, this property represents the height of each page.
The default value is 0, which means the layout uses the size of the viewport to
determine the dimensions of the page.</td>
</tr>
<tr>
- <td>PaginationBreakingMode(string) <br /> ==iOS==</td>
+ <td>PaginationBreakingMode(string) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: page</em> <br /> Allowed values: page, column <br />
Valid values are page and column.The manner in which column- or page-breaking
occurs. This property determines whether certain CSS properties regarding
column- and page-breaking are honored or ignored. When this property is set to
column, the content respects the CSS properties related to column-breaking in
place of page-breaking.</td>
</tr>
<tr>
- <td>PaginationMode(string) <br /> ==iOS==</td>
+ <td>PaginationMode(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: unpaginated</em> <br /> Allowed values: unpaginated,
leftToRight, topToBottom, bottomToTop, rightToLeft <br /> This property
determines whether content in the web view is broken up into pages that fill
the view one screen at a time,or shown as one long scrolling view. If set to a
paginated form, this property toggles a paginated layout on the content,
causing the web view to use the values of PageLength and GapBetweenPages to
relayout its content.</td>
</tr>
<tr>
- <td>PreferredContentMode(string) <br /> ==iOS==</td>
+ <td>PreferredContentMode(string) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: auto</em> <br /> Sets the content mode (user agent)
for the WebView and InAppBrowsers WebView on iPads. Valid values are:
<code>mobile</code> and <code>desktop</code>.</td>
</tr>
<tr>
- <td>InAppBrowserStatusBarStyle(string) <br /> ==iOS==</td>
+ <td>InAppBrowserStatusBarStyle(string) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: default</em> <br /> Set text color style of the
StatusBar for InAppBrowser for iOS. Valid values are: <code>lightcontent</code>
and <code>default</code>.</td>
</tr>
<tr>
- <td>SetFullscreen(boolean) <br /> ==Android==</td>
+ <td>SetFullscreen(boolean) <br /> <svg class="platform-icon
android"><use href="#android"></use></svg></td>
<td><em>Default: false</em> <br /> Same as the Fullscreen parameter in
the global configuration of this xml file. This Android-specific element is
deprecated in favor of the global Fullscreen element, and will be removed in a
future version.</td>
</tr>
<tr>
- <td>ShowTitle(boolean) <br /> ==Android==</td>
+ <td>ShowTitle(boolean) <br /> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Default: false</em> <br /> Show the title at the top of the
screen.</td>
</tr>
<tr>
- <td>Suppresses3DTouchGesture(boolean) <br /> ==iOS==</td>
+ <td>Suppresses3DTouchGesture(boolean) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to avoid 3D Touch
capable iOS devices rendering a magnifying glass widget when the user applies
force while longpressing the webview. Test your app thoroughly since this
disables onclick handlers, but plays nice with ontouchend. If this setting is
true, SuppressesLongPressGesture will effectively be true as well.</td>
</tr>
<tr>
- <td>SuppressesIncrementalRendering(boolean) <br /> ==iOS==</td>
+ <td>SuppressesIncrementalRendering(boolean) <br /> <svg
class="platform-icon ios"><use href="#ios"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to wait until all
content has been received before it renders to the screen.</td>
</tr>
<tr>
- <td>SuppressesLongPressGesture(boolean) <br /> ==iOS==</td>
+ <td>SuppressesLongPressGesture(boolean) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: false</em> <br /> Set to true to avoid iOS9+ rendering
a magnifying glass widget when the user longpresses the webview. Test your app
thoroughly since this may interfere with text selection capabilities.</td>
</tr>
<tr>
- <td>SwiftVersion(string) <br /> ==iOS==</td>
+ <td>SwiftVersion(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: (empty)</em> <br /> Set to specify the Swift
Version.</td>
</tr>
<tr>
- <td>TopActivityIndicator(string) <br /> ==iOS==</td>
+ <td>TopActivityIndicator(string) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: gray</em> <br /> Allowed values: whiteLarge, white,
gray. <br /> <br /> Controls the appearance of the small spinning icon in the
status bar that indicates significant processor activity.</td>
</tr>
<tr>
- <td>UIWebViewDecelerationSpeed(string) <br /> ==iOS==</td>
+ <td>UIWebViewDecelerationSpeed(string) <br /> <svg class="platform-icon
ios"><use href="#ios"></use></svg></td>
<td><em>Default: normal</em> <br /> Allowed values: normal, fast <br />
This property controls the deceleration speed of momentum scrolling. normal is
the default speed for most native apps, and fast is the default for Mobile
Safari.</td>
</tr>
<tr>
- <td>deployment-target(string) <br /> ==iOS==</td>
+ <td>deployment-target(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>This sets the IPHONEOS_DEPLOYMENT_TARGET in the build, which
ultimately translates to the MinimumOSVersion in the ipa. For more details
please refer to Apple's documentation on Deployment Target Settings</td>
</tr>
<tr>
- <td>target-device(string) <br /> ==iOS==</td>
+ <td>target-device(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: universal</em> <br /> Allowed values: handset, tablet,
universal <br /> This property maps directly to TARGETED_DEVICE_FAMILY in the
xcode project. Note that if you target universal (which is the default) you
will need to supply screen shots for both iPhone and iPad or your app may be
rejected.</td>
</tr>
</tbody>
@@ -2938,11 +2940,11 @@ NOTE: Most of the time, you do NOT want to set this
directly.</feature></feature
</thead>
<tbody>
<tr>
- <td>name(string) <br /> ==iOS== ==Android==</td>
+ <td>name(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Required</em> <br /> Allowed values: android-package,
ios-package, onload. <br /> 'ios-package' and
'android-package' are used to specify the name of the package (as
specified by the 'value' attribute) to be used to initialize the plugin
code, while 'onload' is used to specify whether the corresponding
plugin (as specified in the 'value' attribute) is to be instantiated
when the controller is initialized.</td>
</tr>
<tr>
- <td>value(string or boolean) <br /> ==iOS== ==Android==</td>
+ <td>value(string or boolean) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Required</em> <br /> Specifies the name of the package to be
used to initialize the plugin code (when the 'name' attribute is
android-package or ios-package), specifies the name of the plugin to be loaded
during controller initialization (when 'name' attribute is set to
'onload').</td>
</tr>
</tbody>
@@ -3030,7 +3032,7 @@ default Cordova functionality. See <a
href="../guide/appdev/hooks/index.html">Ho
</thead>
<tbody>
<tr>
- <td>src(string) <br /> ==iOS== ==Android==</td>
+ <td>src(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg> <svg class="platform-icon android"><use
href="#android"></use></svg></td>
<td><em>Required</em> <br /> Location of the file relative to
<code>config.xml</code>.</td>
</tr>
<tr>
diff --git a/docs/en/dev/plugin_ref/spec.html b/docs/en/dev/plugin_ref/spec.html
index cb67237175..8c9a9c4e99 100644
--- a/docs/en/dev/plugin_ref/spec.html
+++ b/docs/en/dev/plugin_ref/spec.html
@@ -2278,7 +2278,9 @@
<div id="page-toc-source">
- <h1>Plugin.xml</h1>
+ <svg xmlns="http://www.w3.org/2000/svg" hidden=""
style="display: none !important"><symbol id="browser" viewBox="461.6 9.3 30
30"><path d="M476.7 10.3c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3
14-14-6.3-14-14-14m9.8 9h-5.1c-.3-2.1-.8-4-1.4-5.5 2.8.9 5.1 2.9 6.5 5.5m-6.8
5-.1 3h-5.8l-.1-3 .1-3h5.8l.1 3m-3 11h-.9c-.6-1.1-1.4-3.1-1.8-6h5.3c-.4 2.9-1.1
4.8-1.8 6h-.8m-2.7-16c.4-2.9 1.1-4.8 1.8-6h1.8c.6 1.1 1.4 3.1 1.8
6H474zm-.6-5.5c-.6 1.5-1.1 3.4-1.4 5.5h-5.1c1.3-2.6 3.6-4.6 6 [...]
+
+<h1>Plugin.xml</h1>
<p>Plugin.xml file defines the structure and settings required for your
plugin. It has several elements to provide details about your plugin.</p>
@@ -2636,11 +2638,11 @@ like. Any object not available on <code>window</code>
is created.</p>
<td>A directory into which the files should be copied, relative to the
root of the Cordova project. In practice, this is most important for Java-based
platforms, where a file in the <code>com.alunny.foo</code> package must be
located within the <code>com/alunny/foo</code> directory. For platforms where
the source directory is not important, this attribute should be omitted.</td>
</tr>
<tr>
- <td>framework(boolean) <br /> ==iOS==</td>
+ <td>framework(boolean) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: false</em> <br /> If set to true, also adds the
specified file as a framework to the project.</td>
</tr>
<tr>
- <td>compiler-flags(string) <br /> ==iOS==</td>
+ <td>compiler-flags(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>If set, assigns the specified compiler flags for the particular
source file.</td>
</tr>
</tbody>
@@ -2676,7 +2678,7 @@ like. Any object not available on <code>window</code> is
created.</p>
<td>A directory into which the files should be copied, relative to the
root of the Cordova project.</td>
</tr>
<tr>
- <td>type(string) <br /> ==iOS==</td>
+ <td>type(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>If this value is <code>BridgingHeader</code>, the file is imported
in the <code>Bridging-Header.h</code> and can be called from swift program.</td>
</tr>
</tbody>
@@ -2710,19 +2712,19 @@ like. Any object not available on <code>window</code>
is created.</p>
<td>Path to where the file will be copied in your directory.</td>
</tr>
<tr>
- <td>arch(string) <br /> ==windows==</td>
+ <td>arch(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Allowed values: <code>x86</code>, <code>x64</code> or
<code>ARM</code>. <br /> Indicates that the file should only be included when
building for the specified architecture.</td>
</tr>
<tr>
- <td>device-target <br /> ==windows==</td>
+ <td>device-target <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Allowed values: <code>win</code> (or <code>windows</code>),
<code>phone</code> or <code>all</code>. <br /> Indicates that the file should
only be included when building for the specified target device type.</td>
</tr>
<tr>
- <td>versions <br /> ==windows==</td>
+ <td>versions <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Indicates that the file should only be included when building for
versions that match the specified version string. Value can be any valid node
semantic version range string.</td>
</tr>
<tr>
- <td>reference <br /> ==windows==</td>
+ <td>reference <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Indicates that the file should be referenced from the src rather
than copied to the target destination. The file will appear in Visual Studio
with the file name specified by target, however will point to the respective
src, depending on the architecture.</td>
</tr>
</tbody>
@@ -2770,11 +2772,11 @@ The <code>config-file</code> element only allows you to
append new children to a
<td>A prioritized list of accepted siblings after which to add the XML
snippet. Useful for specifying changes in files which require strict ordering
of XML elements like <a
href="https://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769509%28v=vs.105%29.aspx#BKMK_EXTENSIONSelement">this</a>.</td>
</tr>
<tr>
- <td>device-target(string) <br /> ==windows==</td>
+ <td>device-target(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Allowed values: <code>win</code>, <code>phone</code>,
<code>all</code>. <br /> Applicable when affecting the meta-name
<code>package.appxmanifest</code>, this attribute indicates that the file
should only be modified when building for the specified target device type.</td>
</tr>
<tr>
- <td>versions(string) <br /> ==windows==</td>
+ <td>versions(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Applicable when affecting the meta-name
<code>package.appxmanifest</code>, this attribute indicates that app manifests
for specific Windows versions should only be altered for versions that match
the specified version string. Value can be any valid node semantic version
range string.</td>
</tr>
</tbody>
@@ -2958,11 +2960,11 @@ The <code>config-file</code> element only allows you to
append new children to a
<td>The architecture for which the <code>.so</code> file has been built,
either <code>device</code> or <code>simulator</code>. <br /> For Windows, it
indicates that the <code><SDKReference></code> should only be included
when building for the specified architecture. Supported values are
<code>x86</code>, <code>x64</code> or <code>ARM</code>.</td>
</tr>
<tr>
- <td>device-target(string) <br /> ==windows==</td>
+ <td>device-target(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Allowed values: <code>win</code> (or <code>windows</code>),
<code>phone</code> or <code>all</code>. <br /> Indicates that the
<code><SDKReference></code> should only be included when building for the
specified target device type.</td>
</tr>
<tr>
- <td>versions(string) <br /> ==windows==</td>
+ <td>versions(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Indicates that the <code><SDKReference></code> should only be
included when building for versions that match the specified version string.
Value can be any valid node semantic version range string.</td>
</tr>
</tbody>
@@ -3015,35 +3017,35 @@ The <code>config-file</code> element only allows you to
append new children to a
<td><em>Default: .</em> <br /> Sets the relative path to the directory
containing the sub-project to which to add the reference. The default,
<code>.</code>, implies the application project.</td>
</tr>
<tr>
- <td>arch(string) <br /> ==windows==</td>
+ <td>arch(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Allowed values: <code>x86</code>, <code>x64</code> or
<code>ARM</code>. <br /> Indicates that the framework should only be included
when building for the specified architecture.</td>
</tr>
<tr>
- <td>device-target(string) <br /> ==windows==</td>
+ <td>device-target(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Allowed values: <code>win</code> (or <code>windows</code>),
<code>phone</code> or <code>all</code>. <br /> Indicates that the framework
should only be included when building for the specified target device type.</td>
</tr>
<tr>
- <td>versions(string) <br /> ==windows==</td>
+ <td>versions(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Indicates that the framework should only be included when building
for versions that match the specified version string. Value can be any valid
node semantic version range string.</td>
</tr>
<tr>
- <td>target-dir(string) <br /> ==windows==</td>
+ <td>target-dir(string) <br /> <svg class="platform-icon windows"><use
href="#windows"></use></svg></td>
<td>Indicates a subdirectory into which the framework should be copied.
In practice, this is most important when plugin contains different framework
versions for different chip architectures or device targets, but which have the
same name. This allows you to specify different subfolders for each framework
version so that they don't overlap each other.</td>
</tr>
<tr>
- <td>implementation(string) <br /> ==windows==</td>
+ <td>implementation(string) <br /> <svg class="platform-icon
windows"><use href="#windows"></use></svg></td>
<td>Sets the relative path to <code>.dll</code> file that contains
implementation for WinMD component, written in C++.</td>
</tr>
<tr>
- <td>spec(string) <br /> ==ios==</td>
+ <td>spec(string) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td>Paired with <code>type="podspec"</code>, this is the spec string for
the CocoaPod you want to install (static library only). CocoaPod support only
exists in <code>cordova-ios 4.3.0</code> and <code>cordova-cli 6.4.0</code>.
For your plugin, make sure you add the appropriate <code><engine></code>
tags and <code>package.json</code> <a
href="../guide/hybrid/plugins/index.html#specifying-cordova-dependencies">dependencies</a>
to ensure backwards-compatible support.</td>
</tr>
<tr>
- <td>embed(boolean) <br /> ==ios==</td>
+ <td>embed(boolean) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: false</em> <br />Paired with
<code>custom="true"</code>, this is set to true if you want to embed your
custom framework into your app bundle, so it can be dynamically loaded at
runtime (dynamic framework). This puts your custom framework in the
'Embedded Binaries' section of your Xcode Project Settings. Only
supported with the combination of <code>[email protected]</code> and
<code>[email protected]</code></td>
</tr>
<tr>
- <td>link(boolean) <br /> ==ios==</td>
+ <td>link(boolean) <br /> <svg class="platform-icon ios"><use
href="#ios"></use></svg></td>
<td><em>Default: !embed</em> <br /> Set this to true if you want to link
the framework. This puts the framework in the 'Link Binaries with
Libraries' section of your Xcode Project Settings.</td>
</tr>
</tbody>
@@ -3093,7 +3095,7 @@ The <code>config-file</code> element only allows you to
append new children to a
<span class="na">target-dir=</span><span
class="s">"component\x86"</span> <span class="na">arch=</span><span
class="s">"x86"</span> <span class="na">versions=</span><span
class="s">">=10.0"</span> <span class="nt">/></span>
</code></pre></div></div>
-<h2>podspec (==iOS==)</h2>
+<h2>podspec (<svg class="platform-icon ios"><use href="#ios"></use></svg>)</h2>
<p>Identifies the CocoaPods <code>Podfile</code> that provides the
dependencies in which the plugin depends on.</p>
<p>This element contains a <code><config></code> and a
<code><pods></code> tag.</p>
diff --git a/feed.xml b/feed.xml
index 32d49084a5..8532af940a 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>Fri, 26 May 2023 12:38:24 +0000</pubDate>
- <lastBuildDate>Fri, 26 May 2023 12:38:24 +0000</lastBuildDate>
+ <pubDate>Mon, 29 May 2023 14:04:07 +0000</pubDate>
+ <lastBuildDate>Mon, 29 May 2023 14:04:07 +0000</lastBuildDate>
<generator>Jekyll v4.3.2</generator>
<item>
diff --git a/plugins/index.html b/plugins/index.html
index 04b8475698..74cb17fa9c 100644
--- a/plugins/index.html
+++ b/plugins/index.html
@@ -144,7 +144,6 @@
</ul>
</div>
-<!-- This is our "sprite sheet" of icons, embedded in the page -->
<svg xmlns="http://www.w3.org/2000/svg" hidden style="display: none
!important"><symbol id="browser" viewBox="461.6 9.3 30 30"><path d="M476.7
10.3c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14m9.8
9h-5.1c-.3-2.1-.8-4-1.4-5.5 2.8.9 5.1 2.9 6.5 5.5m-6.8 5-.1 3h-5.8l-.1-3
.1-3h5.8l.1 3m-3 11h-.9c-.6-1.1-1.4-3.1-1.8-6h5.3c-.4 2.9-1.1 4.8-1.8
6h-.8m-2.7-16c.4-2.9 1.1-4.8 1.8-6h1.8c.6 1.1 1.4 3.1 1.8 6H474zm-.6-5.5c-.6
1.5-1.1 3.4-1.4 5.5h-5.1c1.3-2.6 3.6-4.6 6.5-5.5m-7.3 7.5h5.7 [...]
<div class="plugins">
diff --git a/static/css/main.css b/static/css/main.css
index 749da2c597..33ccd79d16 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -8407,6 +8407,19 @@ code {
border-radius: 4px !important;
}
+.platform-icon {
+ width: 22px;
+ height: 22px;
+}
+
+.platform-icon.android {
+ width: 18px;
+}
+
+.platform-icon.electron {
+ width: 21px;
+}
+
/* @media (min-width: $screen-sm-min) { body { font-size:.5em; } } */
body {
height: 100%;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]