cordova-plugin-wkwebview-engine icon indicating copy to clipboard operation
cordova-plugin-wkwebview-engine copied to clipboard

Autofill not working correctly

Open mattwoberts opened this issue 6 years ago • 3 comments

Bug Report

I'm not 100% sure if this is a bug with the cordova plugin, the WKWebView itself, or just cordova in general, but I think it makes the most sense to report here.

Problem

On iOS (12.1.4), using the default keychain password manager, when I hit the login page for a hosted web app, I am prompted to login with a stored password. I click the suggest password from the keyboard, and nothing happens - the fields are not filled in. If however I click the key icon, and choose a username/password from the list, these are indeed filled in on the page.

If I change to a different password manager - such as 1password - the problem goes away.

if I try logging in to the hosted web app "normally" in safari on my mobile instead, it works correctly there too.

Version information

I'm on the latest WKWebView plugin. (1.1.4). I'm on 4.5.5 of the cordova-ios platform, but I have also tried upgrading to 5.0.0, which doesn't make any difference. Cordova version 8.0.0

Checklist

  • [x ] I searched for existing GitHub issues
  • [x ] I updated all Cordova tooling to most recent version
  • [x ] I included all the necessary information above

mattwoberts avatar Mar 05 '19 16:03 mattwoberts

I have same issue, too. However, I got correctly working on iPhoneX.

shogoland avatar Jun 19 '19 10:06 shogoland

I have same issue, too. However, I got correctly working on iPhoneX.

Do you know how you got it working on iPhoneX? I can't even get password suggestions...

michielcrabbe96 avatar Dec 04 '19 08:12 michielcrabbe96

Facing with the same issue.

I did already:

  • enable the AutoFill Credential Provider
  • add the Associated Domains and add webcredentials key
  • setup apple-app-site-association file

Not only passwords are not working, also name and address field won't auto-fill with wkwebview

sjoerdloeve avatar Aug 18 '20 11:08 sjoerdloeve

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.

jcesarmobile avatar Jan 08 '23 23:01 jcesarmobile