Skip to content

CP-11253: update biometric logic #3060

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

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Conversation

ruijialin-avalabs
Copy link
Contributor

@ruijialin-avalabs ruijialin-avalabs commented Jul 16, 2025

Description

Ticket: CP-11253

  • use expo-local-authentication to identify supported biometric types. Android device can have multiple biometrics supported and enrolled, and app-level api does not distinguish between different types of biometrics. This PR updates the title to show Use/Unlock with Biometrics title for android device with multiple supported/enrolled biometrics.

Screenshots/Videos

android with multiple biometrics -
IMG_4891

IMG_4890

Checklist

Please check all that apply (if applicable)

  • I have performed a self-review of my code
  • I have verified the code works
  • I have added/updated necessary unit tests
  • I have updated the documentation

@ruijialin-avalabs ruijialin-avalabs marked this pull request as draft July 16, 2025 20:02
@@ -203,31 +197,13 @@ export function usePinOrBiometryLogin({
}
}, [activeWalletId, alertBadData, resetRateLimiter])

useEffect(() => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this logic into useStoredBiometrics

@ruijialin-avalabs ruijialin-avalabs marked this pull request as ready for review July 18, 2025 01:20
@ruijialin-avalabs ruijialin-avalabs marked this pull request as draft July 18, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant