This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
The following commit(s) were added to refs/heads/master by this push:
new c4235d985d doc: add preference scheme & hostname (#1325)
c4235d985d is described below
commit c4235d985de1ccf62c1421b816567dc3a23110d7
Author: エリス <[email protected]>
AuthorDate: Thu Jul 20 15:29:31 2023 +0900
doc: add preference scheme & hostname (#1325)
---
www/docs/en/dev/config_ref/index.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/docs/en/dev/config_ref/index.md
b/www/docs/en/dev/config_ref/index.md
index 50e5a71d00..795b1c4d28 100644
--- a/www/docs/en/dev/config_ref/index.md
+++ b/www/docs/en/dev/config_ref/index.md
@@ -370,6 +370,8 @@ TopActivityIndicator<br/>{% cdv_vartype string %} {%
cdv_platform ios %} | *Defa
UIWebViewDecelerationSpeed<br/>{% cdv_vartype string %} {% cdv_platform ios %}
| *Default: normal* <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.
deployment-target<br/>{% cdv_vartype string %} {% cdv_platform ios %} | 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
target-device<br/>{% cdv_vartype string %} {% cdv_platform ios %} | *Default:
universal* <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.
+scheme<br/>{% cdv_vartype string %} {% cdv_platform android %} {% cdv_platform
ios %} | *Default:* <br/> - Android: `https` <br/> - iOS: *not defined*, but
falls back to `app` if the value is invalid.<br/><br/>*Allowed values:*<br/> -
Android: `http` or `https`<br/> - iOS: Any non-reserved schemes. ([Example
Reserved
Schemes](https://github.com/WebKit/WebKit/blob/ba2a851809a33013068ec8511883055cabd239be/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-1.mm#L222-L244))<br/><br/>T
[...]
+hostname<br/>{% cdv_vartype string %} {% cdv_platform android %} {%
cdv_platform ios %} | *Default:* `localhost`<br/><br/>This property contains
the hostname which the app content is served from.<br/><br/>If the preference
`scheme` is not defined for iOS, the `hostname` value will be ignored.
Examples:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]