cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7152) Allow for multiple WebViews to have different configurations
Date Wed, 16 Jul 2014 18:00:13 GMT
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)

Mime
View raw message