Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Make sure No cookies are created
- CookieManager.getInstance().setAcceptCookie(false);
- //Make sure no caching is done
- myWebView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
- myWebView.getSettings().setAppCacheEnabled(false);
- myWebView.clearHistory();
- myWebView.clearCache(true);
- //Make sure no autofill for Forms/ user-name password happens for the app
- myWebView.clearFormData();
- myWebView.getSettings().setSavePassword(false);
- myWebView.getSettings().setSaveFormData(false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement