CordovaWebView is an improvement to the Android WebView code that is slated to go into Cordova 1.7.0. This will allow the following to occur:
- A webview containing Cordova Enhancements that can be used by Android Developers
- Automated Testing using Selenium/WebDriver (Custom Web View is required for this to work)
- Java Unit Testing on Device alongside Mobile-Spec
More readable code, and eventual deprecation of the DroidGap class
=Status=
A working version that will be merged into 1.8 is here: [https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=shortlog;h=refs/heads/CordovaWebView]
In Cordova 1.5, we added the CordovaInterface and separated DroidGap into CordovaChromeClient, CordovaWebViewClient and LinearLayoutSoftKeyboardDetect. We still have the DroidGap activity class, however we need to decide where the following needs to go:
- Authentication
- Whitelisting
- Web History (Needs to be enabled and disabled)
PluginManager (Key to the API)
- Stuff that we are missing (please add to the wiki)
As of May 2, 2011, the majority of these features have been implemented, but we need to buff our test suite. Also, it needs to go under code review.