-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add getAvailability to all supported platforms #110
Add getAvailability to all supported platforms #110
Conversation
final canAuthenticate = await _api.canAuthenticate(); | ||
return AvailabilityType( | ||
hasPasskeySupport: canAuthenticate, | ||
isUserVerifyingPlatformAuthenticatorAvailable: canAuthenticate, |
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.
on iOS we set isUserVerifyingPlatformAuthenticatorAvailable to null => is there a reason to do it differently here?
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.
on android the canAuthenticate actually is relying on the value isUserVerifyingPlatformAuthenticatorAvailable from FIDO2APIClient to check for passkey support so it would make sense to use it for both
No description provided.