You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/07/16 20:00:13 UTC
[jira] [Created] (CB-7152) Allow for multiple WebViews to have
different configurations
Andrew Grieve created CB-7152:
---------------------------------
Summary: Allow for multiple WebViews to have different configurations
Key: CB-7152
URL: https://issues.apache.org/jira/browse/CB-7152
Project: Apache Cordova
Issue Type: Improvement
Components: Android
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor
Changes already made. Relevant commits:
* https://github.com/apache/cordova-android/commit/3bab41f138d57a7a92ab01586dd8f58bc91dddfd
* https://github.com/apache/cordova-android/commit/af77977fda281e912b9e8805d1d89a44e5ba1f52
* https://github.com/apache/cordova-android/commit/965e4e9b19a25cd14edab6705804893e81a3b292
* https://github.com/apache/cordova-android/commit/705991e5b037743e632934b3c6ee98976e18d3f8
* https://github.com/apache/cordova-android/commit/d31ee20ba568aed498896a4165e27d87b509f946
* https://github.com/apache/cordova-android/commit/04ccb06e3f6297f3956d847507423c66006eae08
* https://github.com/apache/cordova-android/commit/1c5b5e2ce644a4313624f540dad9abf4665cb870
Root of the problem here is that there were several settings for CordovaWebView that are set either via intent extras, or via the singleton Config class.
With these changes, all settings are able to be set programmatically as well as read from config.xml. Retrieving <preferences> is still possible through the intent extras, but plugins should now prefer to use the CordovaPreferences class instead (so that per-webview customizations are respected).
--
This message was sent by Atlassian JIRA
(v6.2#6252)