cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10389) Scrub & Update config.xml
Date Wed, 03 Feb 2016 01:13:40 GMT

    [ https://issues.apache.org/jira/browse/CB-10389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129516#comment-15129516
] 

ASF GitHub Bot commented on CB-10389:
-------------------------------------

Github user riknoll commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/463#discussion_r51665030
  
    --- Diff: www/docs/en/dev/config_ref/index.md ---
    @@ -45,207 +45,356 @@ passively copied into various `platforms/` subdirectories, for example:
             app/platforms/blackberry10/www/config.xml
             app/platforms/android/res/xml/config.xml
     
    -This section details global and cross-platform configuration options.
    -See the following sections for platform-specific options:
    -
    -- [iOS Configuration](../guide/platforms/ios/config.html)
    -- [Android Configuration](../guide/platforms/android/config.html)
    -- [BlackBerry 10 Configuration](../guide/platforms/blackberry10/config.html)
    -
     In addition to the various configuration options detailed below, you
     can also configure an application's core set of images for each target
     platform. See [Icons and Splash Screens](images.html) for more information.
     
    -## Core Configuration Elements
    -
    -This example shows the default `config.xml` generated by the CLI's
    -`create` command, described in [The Command-Line Interface](../guide/cli/index.html):
    -
    -        <widget id="com.example.hello" version="0.0.1">
    -            <name>HelloWorld</name>
    -            <description>
    -                A sample Apache Cordova application that responds to the deviceready
event.
    -            </description>
    -            <author email="dev@callback.apache.org" href="http://cordova.io">
    -                Apache Cordova Team
    -            </author>
    -            <content src="index.html" />
    -            <access origin="*" />
    -        </widget>
    -
    -The following configuration elements appear in the top-level
    -`config.xml` file, and are supported across all supported Cordova
    -platforms:
    -
    -- The `<widget>` element's `id` attribute provides the app's
    -  reverse-domain identifier, and the `version` its full version number
    -  expressed in major/minor/patch notation.
    -
    -  The widget tag can also have attributes that specify alternative versions,
    -  namely `versionCode` for Android, `CFBundleVersion` for iOS, and 
    -  `packageVersion` for Windows. See the Additional Versioning section below 
    -  for details.
    -
    -- The `<name>` element specifies the app's formal name, as it appears
    -  on the device's home screen and within app-store interfaces.
    -
    -- The `<description>` and `<author>` elements specify metadata and
    -  contact information that may appear within app-store listings.
    -
    -- The optional `<content>` element defines the app's starting
    -  page in the top-level web assets directory. The default value is
    -  `index.html`, which customarily appears in a project's top-level
    -  `www` directory.
    -
    -- `<access>` elements define the set of external domains the app is
    -  allowed to communicate with. The default value shown above allows
    -  it to access any server. See the Domain [Whitelist Guide](../guide/appdev/whitelist/index.html)
for details.
    -
    -- The `<preference>` tag sets various options as pairs of
    -  `name`/`value` attributes. Each preference's `name` is
    -  case-insensitive.  Many preferences are unique to specific
    -  platforms, as listed at the top of this page. The following sections
    -  detail preferences that apply to more than one platform.
    -
    -### Additional Versioning
    +# widget
    +   Root element of the config.xml document.
    +    
    +   Attributes(type) | Description
    +   ---------------- | ------------
    +   id (string) | *Required: true* <br/> Specifies the app's reverse-domain identifier,
and the `version` its full version number expressed in major/minor/patch notation.
    +   version (string) | *Required: true* <br/> Full version number expressed in major/minor/patch
notation.
    +   versionCode (string) | *Required: false* <br/> **Platforms supported: Android**
<br/> Alternative version for Android.
    +   CFBundleVersion (string) | *Required: false* <br/> **Platforms supported: iOS**
<br/> Alternative version for iOS.  
    +   packageVersion (string) | *Required: false* <br/> **Platforms supported: Windows**
<br/> Alternative version for Windows.
    +   packageName (string) | *Default: Cordova.Example* <br/> **Platforms supported:
Windows** <br/> Package name for Windows.
    +   xmlns (string) | *Required: true* <br/> namespace for the config.xml document.
    +   xmlns:cdv (string) | *Required: true* <br/> namespace prefix.
    +    
    +   Examples:
     
    -Android, iOS, and Windows support a second version string (or number) in 
    -addition to the one visible in app stores:
    +    <widget id="io.cordova.hellocordova">
    +    </widget>
     
    -- [versionCode](http://developer.android.com/tools/publishing/versioning.html)
    -  for Android
    -- [CFBundleVersion](http://stackoverflow.com/questions/4933093/cfbundleversion-in-the-info-plist-upload-error)
    -  for iOS
    -- [packageVersion](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx)
    -  for Windows
    +    <widget version="0.0.1">
    +    </widget>
     
    -Below is an example that explicitly sets these properties:
    +    <!-- Android -->
    +    <widget versionCode="0.1.3">
    +    </widget>
     
    -        <widget id="io.cordova.hellocordova"
    -          version="0.0.1"
    -          android-versionCode="7"
    -          ios-CFBundleVersion="3.3.3"
    -          windows-packageVersion="1.0.1.2">
    +    <!-- iOS -->
    +    <widget CFBundleVersion="0.1.3">
    +    </widget>
     
    -If alternative version is not specified, the following
    -defaults will be used:
    +    <!-- Windows -->
    +    <widget packageVersion="0.1.3">
    +    </widget>
     
    -        // assuming version = MAJOR.MINOR.PATCH-whatever
    -        versionCode = PATCH + MINOR * 100 + MAJOR * 10000
    -        CFBundleVersion = "MAJOR.MINOR.PATCH"
    -        packageVersion = "MAJOR.MINOR.PATCH.0"
    +    <widget xmlns="http://www.w3.org/ns/widgets">
    +    </widget>
     
    -## Global Preferences
     
    -The following global preferences apply to all platforms:
    +## name
    +   Specifies the app's formal name, as it appears on the device's home screen and within
app-store interfaces.
     
    -- `Fullscreen` allows you to hide the status bar at the top of the
    -  screen. The default value is `false`. Example:
    +   Example:
     
    -        <preference name="Fullscreen" value="true" />
    +    <widget ...>
    +        <name>HelloCordova</name>
    +    </widget>
    +    
    +## description
    +   Specifies metadata that may appear within app-store listings.
     
    -## Multi-Platform Preferences
    +   Example:
    +   
    +    <widget ...>
    +        <description>A sample Apache Cordova application</description>
    +    </widget>
     
    -The following preferences apply to more than one platform, but not to
    -all of them:
    +    
    +## author
    +   Specifies contact information that may appear within app-store lisitngs.
    +   
    +   Attributes (type) | Description
    +   ----------------- | ------------
    +   email (string) | *Required: true <br/>* Email of the author.
    +   href (string) | *Required: true <br/>* Website of the author.
     
    -- `DisallowOverscroll` (boolean, defaults to `false`): set to `true`
    -  if you don't want the interface to display any feedback when users
    -  scroll past the beginning or end of content.
    +   Examples:
     
    -        <preference name="DisallowOverscroll" value="true"/>
    +    <widget ...>
    +        <author email="dev@cordova.apache.org" href="http://cordova.io"></author>
    +    </widget>
     
    -  Applies to Android and iOS. 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.
    +    
    +## content
    +   Optional.
    +   Defines the app's starting page in the top-level web assets directory. The default
value is index.html, which customarily
    +   appears in a project's top-level www directory.
    +   
    +   Attributes (type) | Description
    +   ----------------- | ------------
    +   src (string) | *Required: true <br/>* Defines the app's starting page in the
top-level web assets directory. The default value is index.html, which customarily
    +   appears in a project's top-level www directory.
    +
    +   Example:
    +
    +    <widget ...>
    +        <content src="startPage.html"></content>
    +    </widget>
     
    -- `BackgroundColor`: Set 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.  This
    -  example specifies blue:
    +    
    +## access
    +   Defines the set of external domains the app is allowed to communicate with. The default
value shown above allows it to access any server. 
    +   See the Domain [Whitelist Guide](../guide/appdev/whitelist/index.html) for details.

     
    -        <preference name="BackgroundColor" value="0xff0000ff"/>
    +   Attributes (type) | Description
    +   ----------------- | ------------
    +   origin (string) | *Required: true <br/>* Defines the set of external domains
the app is allowed to communicate with. 
    +   The default value shown above allows it to access any server. 
    +   See the Domain [Whitelist Guide](../guide/appdev/whitelist/index.html) for details.

     
    -  Applies to Android and BlackBerry. Overrides CSS otherwise available
    -  across _all_ platforms, for example: `body{background-color:blue}`.
    +   Examples:
     
    -- `HideKeyboardFormAccessoryBar` (boolean, defaults to `false`): set
    -  to `true` to hide the additional toolbar that appears above the
    -  keyboard, helping users navigate from one form input to another.
    +    <widget ...>
    +        <access origin="*"></content>
    +    </widget>
    +    
    +    <widget ...>
    +        <access origin="http://google.com"></content>
    +    </widget>
    +    
    +    
    +## allow-navigation
    +   Controls which URLs the WebView itself can be navigated to. Applies to top-level navigations
only.
    +   
    +   Attributes (type) | Description
    +   ----------------- | ------------
    +   href (string) | *Required: true* <br/> Defines the set of external domains the
WebView is allowed to navigate to. 
    +   See the cordova-plugin-whitelist [cordova-plugin-whitelist](https://github.com/apache/cordova-plugin-whitelist#navigation-whitelist)
for details.
    +   
    +   Examples:
    +   
    +    <!-- Allow links to example.com -->
    +    <allow-navigation href="http://example.com/*" />
    +
    +    <!-- Wildcards are allowed for the protocol, as a prefix to the host, or as a
suffix to the path -->
    +    <allow-navigation href="*://*.example.com/*" />
    +   
    +## allow-intent
    +   Controls which URLs the app is allowed to ask the system to open. By default, no external
URLs are allowed.
    +   
    +   Attributes (type) | Description
    +   ----------------- | ------------
    +   href (string) | *Required: true* <br/> Defines which URLs the app is allowed
to ask the system to open. 
    +   See the cordova-plugin-whitelist [cordova-plugin-whitelist](https://github.com/apache/cordova-plugin-whitelist#intent-whitelist)
for details.  
    +  
    +   Examples:
    +   
    +    <allow-intent href="http://*/*" />
    +    <allow-intent href="https://*/*" />
    +    <allow-intent href="tel:*" />
    +    <allow-intent href="sms:*" />
    +  
    +## engine
    +   Specifies what platform to restore during a prepare. For more details, see the Platforms
& Plugins Version Management.
    +   
    +   Attributes (type) | Description
    +   ----------------- | ------------
    +   name (string) | *Required: true* <br/> Name of the platform to be restored
    +   spec (string) | *Required: true* <br/> Version of the platform to be restored
    +   
    +   Examples:
    +
    +    <engine name="android" spec="^4.0.0" />
    +    
    +## preference
    +   Sets various optinos as pairs of name/value attributes. Each preference's name is
case-insensitive. Many preferences are unique to specific platforms,
    +   and will be indicated as such.  
    +
    +   Attributes (type) | Description
    +   ----------------- | ------------
    +   DisallowOverscroll (boolean) | *Default: false* <br/> **Platforms supported:
iOS, Android** <br/> Set to **true** 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/>
    +   FullScreen (boolean) | *Default: false* <br/> Allows you to hide the status
bar at the top of the screen.
    +   BackgroundColor (string) | *Required: false* <br/> **Platforms supported: Android,
BlackBerry** <br/> Supports a four-byte hex value, with the first byte representing
the alpha channel, and standard RGB values for the following three bytes. 
    +   HideKeyboardFormAccessoryBar (boolean) | *Default: false* <br/> **Platforms
supported: BlackBerry** <br/> set to true to hide the additional toolbar that appears
above the keyboard, helping users navigate from one form input to another.
    +   Orientation (string) | *Default: default* <br/> Allowed values: default, landscape,
portait <br/> Allows you to lock orientation and prevent the interface from rotating
in response to changes in orientation. <br/> **NOTE:** 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 the platform specific value 'all'.
    +   EnableViewportScale (boolean) | *Default: false* <br/>  **Platforms supported:
iOS** <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/>
```<meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=no'
/>```
    +   MediaPlaybackAllowsAirPlay (boolean) | *Default: true* <br/> **Platforms supported:
iOS** <br/> Set to false to prevent Air Play from being used in this view. Available
in default UIWebView and WKWebView.
    +   MediaPlaybackRequiresUserAction (boolean) | *Default: false* <br/> **Platforms
supported: iOS** <br/> Set to true to prevent HTML5 videos or audios from playing automatically
with the autoplay attribute or via JavaScript.
    +   AllowInlineMediaPlayback (boolean) | *Default: false* <br/> **Platforms supported:
iOS** <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 webkit-playsinline attribute to any ```<video>``` elements. 
    +   BackupWebStorage (string) | *Default: cloud* <br/> Allowed values: none, local,
cloud. <br/> **Platforms supported: iOS** <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.
    +   TopActivityIndicator (string) | *Default: gray* <br/> Allowed values: whiteLarge,
white, gray. <br/> **Platforms supported: iOS** <br/>  <br/> Controls the
appearance of the small spinning icon in the status bar that indicates significant processor
activity. 
    +   KeyboardDisplayRequiresUserAction (boolean) | *Default: true* <br/> **Platforms
supported: iOS** <br/> Set to false to allow the keyboard to appear when calling focus()
on form inputs.
    +   SuppressesIncrementalRendering (boolean) | *Default: false* <br/> **Platforms
supported: iOS** <br/> Set to true to wait until all content has been received before
it renders to the screen.
    +   GapBetweenPages (float) | *Default: 0* <br/> **Platforms supported: iOS** <br/>
The size of the gap, in points, between pages.
    +   PageLength (float) | *Default: 0* <br/> **Platforms supported: iOS** <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.
    +   PaginationBreakingMode (string) | *Default: page* <br/> Allowed values: page,
column <br/> **Platforms supported: iOS** <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.
    +   PaginationMode (string) | *Default: unpaginated* <br/> Allowed values: unpaginated,
leftToRight, topToBottom, bottomToTop, rightToLeft <br/> **Platforms supported: iOS**
<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.
    +   UIWebViewDecelerationSpeed (string) | *Default: normal* <br/> Allowed values:
normal, fast <br/> **Platforms supported: iOS** <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.
    +   ErrorUrl (string) | **Platforms supported: iOS** <br/> If set, will display
the referenced local page upon an error in the application.
    +   OverrideUserAgent (string) | **Platforms supported: iOS** <br/> 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 causes compitiable issue
with web servers. For most cases, use AppendUserAgent instead.
    +   AppendUserAgent (string) | **Platforms supported: iOS** <br/> If set, the value
will append to the end of old UserAgent of webview. When using with OverrideUserAgent, this
value will be ignored.
    +   target-device (string) | *Default: universal* <br/> Allowed values: handset,
tablet, universal <br/> **Platforms supported: iOS** <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.
    +   deployment-target (string) | **Platforms supported: iOS** <br/> This sets the
IPHONEOS_DEPLOYMENT_TARGET in the build, which ultimately tranlsates to the MinimumOSVersion
in the ipa. For more details please refer to Apple's documentation on Deployment Target Settings
    +   CordovaWebViewEngine (string) | *Default: CDVUIWebViewEngine* <br/> **Platforms
supported: iOS** <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.
    +   SuppressesLongPressGesture (boolean) | *Default: false* <br/> **Platforms supported:
iOS** <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.
    +   Suppresses3DTouchGesture (boolean) | *Default: false* <br/> **Platforms supported:
iOS** <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.
    +   KeepRunning (boolean) | *Default: true* <br/> **Platforms supported: Android**
<br/> Determines whether the application stays running in the background even after
a [pause](../../../cordova/events/events.pause.html) event fires. Setting this to false does
not kill the app after a [pause](../../../cordova/events/events.pause.html) event, but simply
halts execution of code within the cordova webview while the app is in the background.
    +   LoadUrlTimeoutValue (number in milliseconds) | *Default: 20000, 20 seconds* <br/>
**Platforms supported: Android** <br/> hen loading a page, the amount of time to wait
before throwing a timeout error. 
    +   SplashScreen (string) | *Default: splash* <br/> **Platforms supported: Android**
<br/> The name of the file minus its extension in the res/drawable directory. Various
assets must share this common name in various subdirectories.
    +   SplashScreenDelay (number in milliseconds) | *Default: 3000, 3 seconds* <br/>
**Platforms supported: Android** <br/> The amount of time the splash screen image displays.
    +   InAppBrowserStorageEnabled (boolean) | *Default: true* <br/> **Platforms supported:
Android** <br/> Controls whether pages opened within an InAppBrowser can access the
same localStorage and WebSQL storage as pages opened with the default browser.
    +   LoadingDialog (string) | *Default: null* <br/> **Platforms supported: Android**
<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.
    +   ErrorUrl (URL) | *Default: null* <br/> **Platforms supported: Android** <br/>
If set, will display the referenced page upon an error in the application instead of a dialog
with the title "Application Error".
    +   ShowTitle (boolean) | *Default: false* <br/> **Platforms supported: Android**
<br/> Show the title at the top of the screen.
    +   LogLevel (string) | *Default: ERROR* <br/> Allowed values: ERROR, WARN, INFO,
DEBUG, VERBOSE <br/> **Platforms supported: Android** <br/> Sets the minimum log
level through which log messages from your application will be filtered.
    +   SetFullscreen (boolean) | *Default: false* <br/> **Platforms supported: Android**
<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.
    +   AndroidLaunchMode (string) | *Default: singleTop* <br/> Allowed values: standard,
singleTop, singleTask, singleInstance <br/> **Platforms supported: Android** <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. 
    +   DefaultVolumeStream (string) | *Default: default* <br/> **Platforms supported:
Android**<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.
    +   OverrideUserAgent (string) | **Platforms supported: Android** <br/> 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 causes compitiable
issue with web servers. For most cases, use AppendUserAgent instead.
    +   AppendUserAgent (string) | **Platforms supported: Android** <br/> If set, the
value will append to the end of old UserAgent of webview. When using with OverrideUserAgent,
this value will be ignored.
    +   ChildBrowser (string) | *Default: enable* <br/> **Platforms supported: BlackBerry**
<br/> Disables child browser windows. By default, apps launch a secondary browser window
to display resources accessed via window.open() or by specifying a _blank anchor target. Specify
disable to override this default behavior.
    +   PopupBlocker (string) | *Default: enable* <br/> **Platforms supported: BlackBerry**
<br/> Enables the popup blocker, which prevents calls to window.open(). By default,
popups display in a child browser window. Setting the preference to enable prevents it from
displaying at all.
    +   WebSecurity (string) | *Default: enable* <br/> **Platforms supported: BlackBerry**
<br/> Set to disable to override web security settings, allowing access to remote content
from unknown sources. This preference is intended as a development convenience only, so remove
it before packaging the app for distribution. For the released app, all URIs should be known
and whitelisted using the <access> element, described in the Domain Whitelist Guide.
    +   windows-phone-target-version (string) | **Platform supported: Windows** <br/>
Sets the version of Windows Phone for which the package (resulting from ```cordova build```)
will target. If none is specified, it will be set to the same version as ```windows-target-version```
(if found). 
    +   windows-target-version (string) | **Platform supported: Windows** <br/> Sets
the version of Windows for which the package (resulting from ```cordova build```) will target.
If none is specified, it will be set to '8.1'.
    +   Min/Max UAP (Regex) | Allowed values: **/(Microsoft.+? &#124; Windows.+?)-(MinVersion
&#124; MaxVersionTested)/i** <br/> **Platforms supported: Windows** <br/>
Sets the min/max UAP versions for Windows. If nothing is specified, Windows.Universal at version
10.0.10240.0 will be used.
    +   
    +   Examples:
    +
    +    <preference name="DisallowOverscroll" value="true"/>
    +    <preference name="Fullscreen" value="true" />
    +    <preference name="BackgroundColor" value="0xff0000ff"/>
    +    <preference name="HideKeyboardFormAccessoryBar" value="true"/>
    +    <preference name="Orientation" value="landscape" />
    +    
    +    <!-- iOS only preferences -->
    +    <preference name="EnableViewportScale" value="true"/>
    +    <preference name="MediaPlaybackAllowsAirPlay" value="false"/>
    +    <preference name="MediaPlaybackRequiresUserAction" value="true"/>
    +    <preference name="AllowInlineMediaPlayback" value="true"/>
    +    <preference name="BackupWebStorage" value="local"/>
    +    <preference name="TopActivityIndicator" value="white"/>
    +    <preference name="SuppressesIncrementalRendering" value="true"/>
    +    <preference name="GapBetweenPages" value="0"/>
    +    <preference name="PageLength" value="0"/>
    +    <preference name="PaginationBreakingMode" value="page"/>
    +    <preference name="PaginationMode" value="unpaginated"/>
    +    <preference name="UIWebViewDecelerationSpeed" value="fast" />
    +    <preference name="ErrorUrl" value="myErrorPage.html"/>
    +    <preference name="OverrideUserAgent" value="Mozilla/5.0 My Browser" />
    +    <preference name="AppendUserAgent" value="My Browser" />
    +    <preference name="target-device" value="universal" />
    +    <preference name="deployment-target" value="7.0" />
    +    <preference name="CordovaWebViewEngine" value="CDVUIWebViewEngine" />
    +    <preference name="SuppressesLongPressGesture" value="true" />
    +    <preference name="Suppresses3DTouchGesture" value="true" />
    +    
    +    <!-- Android only preferences -->
    +    <preference name="KeepRunning" value="false"/>
    +    <preference name="LoadUrlTimeoutValue" value="10000"/>
    +    <preference name="SplashScreen" value="mySplash"/>
    +    <preference name="InAppBrowserStorageEnabled" value="true"/>
    +    <preference name="LoadingDialog" value="My Title,My Message"/>
    +    <preference name="ErrorUrl" value="myErrorPage.html"/>
    +    <preference name="ShowTitle" value="true"/>
    +    <preference name="LogLevel" value="VERBOSE"/>
    +    <preference name="AndroidLaunchMode" value="singleTop"/>
    +    <preference name="DefaultVolumeStream" value="call" />
    +    <preference name="OverrideUserAgent" value="Mozilla/5.0 My Browser" />
    +    <preference name="AppendUserAgent" value="My Browser" />
    +    
    +    <!-- Windows only preferences -->
    +    <preference name="windows-phone-target-version" value="8.1" />
    +    <preference name="windows-target-version" value="8.1" />
    +    <preference name="Windows.Universal" value="10.0.10240.0" />
    +
    +    <!-- BlackBerry only preferences -->
    +    <preference name="ChildBrowser" value="disable"/>
    +    <preference name="PopupBlocker" value="enable"/>
    +    <preference name="WebSecurity" value="disable"/>
    +    
    +## feature
    --- End diff --
    
    Cool, we should still keep the explanation. I don't know if super advanced users actually
do this.


> Scrub & Update config.xml
> -------------------------
>
>                 Key: CB-10389
>                 URL: https://issues.apache.org/jira/browse/CB-10389
>             Project: Apache Cordova
>          Issue Type: Improvement
>            Reporter: Omar Mefire
>            Assignee: Omar Mefire
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message