clear cache on CordovaWebView - for dev

This commit is contained in:
Yaroslav Dmytrotsa 2015-08-12 16:41:07 +03:00
parent ffc98ef0cf
commit 384822e45c
2 changed files with 3 additions and 1 deletions

View File

@ -144,6 +144,8 @@ public class WebViewFragment extends Fragment {
}
webView.getView().requestFocusFromTouch();
cordovaInterface.onCordovaInit(webView.getPluginManager());
webView.clearCache();
android.webkit.CookieManager.getInstance().removeAllCookie();
// Wire the hardware volume controls to control media if desired.
String volumePref = preferences.getString("DefaultVolumeStream", "");

@ -1 +1 @@
Subproject commit eedf40ae0a849233d81f6f86d5298ca8fd672d47
Subproject commit befd04478ec29c0cd627de90b665309ad06760fa