cordova-plugin-ionic-webview
cordova-plugin-ionic-webview copied to clipboard
New Android Webview 2.3.3 prompts to autofill the password
When an Ionic is built with a form that has a password input type, the new Webview is offering to save the password to Google account. I know this is probably a Chrome behaviour but I suggest that we should enforce the webview to disable this behaviour since it saves it under http://scheme:PORT_NUMBER not normal behaviour for "apps"
Hi, Any news on this problem ? It's really strange to have the password popup on localhost showing up for login forms, not "native" at all. I had to create a fork to add webView.setImportantForAutofill(View.IMPORTANT_FOR_AUTOFILL_NO); in the android part, it's working but I don't know about the side effects.
Can you provide a sample app reproducing the issue?
Also, does it still prompts if you add autocomplete="off" to the field?
@jcesarmobile It prompts with autocomplete="off" and also autocomplete="new-password"
You can see a screenshot here: https://forum.ionicframework.com/t/autofill-label-problem/160580
On this post they say it might not show on all devices and I've got a P10 with android 8.
I removed the label by adding this to src/android/com/ionicframework/cordova/webview/IonicWebViewEngine.java, but I'm not sure of the side effects :
// Remove google autofill for Android > 8 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { webView.setImportantForAutofill(View.IMPORTANT_FOR_AUTOFILL_NO); }
Hi. Any updates on this issue?
autocomplete doesn't work
Did anyone found a solution for the ugly autofill labels on android login and passwords fields ?
Hi, Any updates on the issue?
@jcesarmobile Any updates?
Any solution in 2022 to either hide this or successfully save the password for the app?