Credential provider extension randomly fails to fill

We are developing a password manager on iOS, with an autofill Extension, and we have an issue with the autofill.


After we call the extensionContext.completeRequest(withSelectedCredential: passwordCredential, completionHandler: nil) method, the fields are not always filled (it seems to fail randomly).

However, when it does fail, if the user closes the keyboard and taps again in the username or password field, the fields are filled, proving that the credentials have been correctly sent by our extension.


We noticed that this issue does not occur if the user doesn't use the keyboard (to search password, or enter a master key) inside our extension.

Also, it works correctly inside Safari, and only seems to fail within apps.


Furthermore, we have similar issues when using other password managers, such as Dashlane, even though we are able to produce it more often with our app.


https://www.dropbox.com/s/yk2zb4p2o4tifay/Privowny.mp4?dl=0

https://www.dropbox.com/s/tlqwe9auz6aqt8y/Dashlane.mp4?dl=0

Replies

If you’re seeing the same problem crop up with multiple providers talking to multiple apps, that seems like it warrants a bug report. Before doing that, however, I recommend that you try reproducing it on iOS 13 beta.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"