Fixed CB-2089 after I tagged for the release. This will have to sit in 2.4.0

This commit is contained in:
Joe Bowser 2013-01-03 10:18:41 -08:00
parent 3caa45d860
commit 72e0b49e0b

View File

@ -414,6 +414,9 @@ public class InAppBrowser extends CordovaPlugin {
*/
// @TODO: replace with settings.setPluginState(android.webkit.WebSettings.PluginState.ON)
settings.setPluginsEnabled(true);
settings.setDatabaseEnabled(true);
String databasePath = cordova.getActivity().getApplicationContext().getDir("inAppBrowserDB", Context.MODE_PRIVATE).getPath();
settings.setDatabasePath(databasePath);
settings.setDomStorageEnabled(true);
inAppWebView.loadUrl(url);
inAppWebView.setId(6);