-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Credential provider QuickType support #3696
Credential provider QuickType support #3696
Conversation
… vault in main Passwords screen also
…ync with lastUsed passwords
…nsion is included
|
override func provideCredentialWithoutUserInteraction(for credentialIdentity: ASPasswordCredentialIdentity) { | ||
// A quirk here is calling .canAuthenticate in this one scenario actually triggers the prompt to authentication | ||
// Calling .authenticate here results in the extension attempting to present a non-existent view controller causing weird UI | ||
if authenticator.canAuthenticateViaBiometrics() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If biometrics authentication is not possible (or no device auth is set), userInteractionRequired
is returned here. This triggers a call to prepareInterfaceToProvideCredential(for credentialRequest: any ASCredentialRequest)
which presents a lock screen UI and complete authentication & error handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one @amddg44, tested and works as expected.
4881936
into
feature/system-credential-provider
Task/Issue URL: iOS PR: duckduckgo/iOS#3696 macOS PR: duckduckgo/macos-browser#3648 What kind of version bump will this require?: Minor **Description**: Adds support for QuickType to the Credential provider extension along with deduplication logic
Task/Issue URL:
Tech Design URL:
CC:
Description:
Adds support for QuickType to the Credential provider extension (along with deduplication logic for the QuickType prompts)
Steps to test this PR:
https://autofill.me/form/login-simple
. Also add one with a duplicate username and password, but with a different subdomain e.g.test.autofill.me
autofill.me
in Safari<!—
Before submitting a PR, please ensure you have tested the combinations you expect the reviewer to test, then delete configurations you know do not need explicit testing.
Using a simulator where a physical device is unavailable is acceptable.
—>
Definition of Done (Internal Only):
Copy Testing:
’
rather than’
Orientation Testing:
Device Testing:
OS Testing:
Theme Testing:
—
Internal references:
Software Engineering Expectations
Technical Design Template