You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by no...@apache.org on 2022/02/03 02:54:34 UTC

[cordova-docs] branch master updated: fix "CordovaWebViewEngine" value (#1112)

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

normanbreau 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 1a40c7e  fix "CordovaWebViewEngine" value (#1112)
1a40c7e is described below

commit 1a40c7ed0be3391738c23f44483889b32bb49597
Author: Elderov Ali <in...@cyberkatze.de>
AuthorDate: Thu Feb 3 03:52:30 2022 +0100

    fix "CordovaWebViewEngine" value (#1112)
    
    * fix "CordovaWebViewEngine" value
    
    replace in "CordovaWebViewEngine" value "CDVUIWebViewEngine" with "CDVWKWebViewEngine"
    
    * Corrected CordovaWebViewEngine default value
    
    Co-authored-by: Tim Brust <gi...@timbrust.de>
    
    * Corrected CordovaWebViewEngine default value
    
    Co-authored-by: Tim Brust <gi...@timbrust.de>
    
    * Corrected CordovaWebViewEngine default value
    
    Co-authored-by: Tim Brust <gi...@timbrust.de>
    
    * Corrected CordovaWebViewEngine default value
    
    Co-authored-by: Tim Brust <gi...@timbrust.de>
    
    * Corrected CordovaWebViewEngine default value
    
    * Update www/docs/en/dev/config_ref/index.md
    
    Co-authored-by: Wuglyak Bolgoink <ch...@gmail.com>
    Co-authored-by: Norman Breau <no...@nbsolutions.ca>
    Co-authored-by: Tim Brust <gi...@timbrust.de>
---
 www/docs/en/dev/config_ref/index.md | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/www/docs/en/dev/config_ref/index.md b/www/docs/en/dev/config_ref/index.md
index 5ee053c..934c2a3 100644
--- a/www/docs/en/dev/config_ref/index.md
+++ b/www/docs/en/dev/config_ref/index.md
@@ -299,8 +299,7 @@ android-targetSdkVersion(integer) <br/> ==Android== | *Default: Dependent on cor
 AppendUserAgent(string) <br/> ==Android== ==iOS== | If set, the value will append to the end of old UserAgent of webview. When using with OverrideUserAgent, this value will be ignored.
 BackgroundColor(string) <br/> ==Android== ==iOS== ==Windows== | 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/> For Windows, the alpha channel is ignored. <br/> __Note__: `transparent` value will set the application tile background to the accent color on Windows.
 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.
-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 CordovaDefaul [...]
+CordovaWebViewEngine(string) <br/> ==iOS== | *Default: CDVWebViewEngine* <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.
 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' />```
@@ -381,8 +380,8 @@ Examples:
 <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="CordovaDefaultWebViewEngine" value="CDVUIWebViewEngine" />
+<preference name="CordovaWebViewEngine" value="CDVWebViewEngine" />
+<preference name="CordovaDefaultWebViewEngine" value="CDVWebViewEngine" />
 <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