You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
方案1
你给的地址中的解决方案有没有试过?
在android调用webveiw的地方,加入如下代码:
if (Build.VERSION.SDK_INT <= 18) {
mWebView.getSettings().setSavePassword(false);
} else {
// do nothing. because as google mentioned in the documentation -
// "Saving passwords in WebView will not be supported in future versions"
}
Hello,遇到一个问题请教下。
使用情景,WebView中嵌入了一个登陆页面。在使用中,部分Android系统(android <=4.3)会提示是否记住密码,而我不想让它有这个提示。我已经尝试过使用domStorageEnabled属性,但还是会提示,请问你有遇到过或者有什么解决思路吗?!谢谢!
ref: http://stackoverflow.com/questions/11531778/how-to-disable-the-save-password-dialog-on-an-android-webview
The text was updated successfully, but these errors were encountered: