You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2016/11/10 00:50:53 UTC

docs commit: Update index.md according to CB-11705

Repository: cordova-docs
Updated Branches:
  refs/heads/master 92089d775 -> be696db87


Update index.md according to CB-11705

As per requested by PR #241 for CB-11705, I have made changes to the documentation to reflect the use of CordovaDefaultWebViewEngine.

 This closes #629


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/be696db8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/be696db8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/be696db8

Branch: refs/heads/master
Commit: be696db87f015581bafb1b010c25266f7d4515d5
Parents: 92089d7
Author: H�kon Nilsen <hn...@gmail.com>
Authored: Mon Aug 22 08:13:19 2016 +0200
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Nov 9 16:50:47 2016 -0800

----------------------------------------------------------------------
 www/docs/en/dev/config_ref/index.md | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/be696db8/www/docs/en/dev/config_ref/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/config_ref/index.md b/www/docs/en/dev/config_ref/index.md
index 26d428e..ee944d9 100644
--- a/www/docs/en/dev/config_ref/index.md
+++ b/www/docs/en/dev/config_ref/index.md
@@ -279,6 +279,7 @@ BackgroundColor(string) <br/> ==Android== ==BlackBerry== ==Windows== | Sets the
 BackupWebStorage(string) <br/> ==iOS== | *Default: cloud* <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.
 ChildBrowser(string) <br/> ==BlackBerry== | *Default: enable* <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.
 CordovaWebViewEngine(string) <br/> ==iOS== | *Default: CDVUIWebViewEngine* <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.
+CordovaDefaultWebViewEngine(string) <br/> ==iOS== | *Default: CDVUIWebViewEngine* <br/> As the previous setting, CordovaWebViewEngine, this enables you to override the default fallback WebView with a different plugin. The default WebView uses a private plugin, CDVUIWebViewEngine. You can override this if you need to use a public plugin instead. A use case for this setting is where you need to use something other than the default CDVUIWebViewEngine to render the host app. If CordovaDefaultWebViewEngine and CordovaWebViewEngine is set, CordovaWebViewEngine will be chosen to render the host app for devices running iOS9 and above, while CordovaDefaultWebViewEngine will be the fallback for iOS8. The plugin must conform to the CDVWebViewEngineProtocol protocol. The 'value' here should match the 'feature' name of the WebView engine plugin that is installed.
 DefaultVolumeStream(string) <br/> ==Android== | *Default: default* <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.
 DisallowOverscroll(boolean) <br/> ==iOS== ==Android== | *Default: false* <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/>
 EnableViewportScale(boolean) <br/> ==iOS== | *Default: false* <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' />```
@@ -355,6 +356,7 @@ Examples:
 <preference name="target-device" value="universal" />
 <preference name="deployment-target" value="7.0" />
 <preference name="CordovaWebViewEngine" value="CDVUIWebViewEngine" />
+<preference name="CordovaDefaultWebViewEngine" value="CDVUIWebViewEngine" />
 <preference name="SuppressesLongPressGesture" value="true" />
 <preference name="Suppresses3DTouchGesture" value="true" />
 


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