-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provides native prompt to authenticate; brings Android to parity with…
… iOS - isSensorAvailable uses android BiometricManager - provides 'Biometrics' biometryType, as opposed to 'Fingerprint' - on Android Q (v29)+, uses device's preferred biometry type (user-decided) - on Android P (v28) and below, defaults to Fingerprint, supported by FingerprintCompat lib - on Android M-P (v23), checks for native fingerprint support on device (Samsung & MeiZu), and defaults to it if available - prefers Android native > other device native - authenticate uses android BiometricPrompt - now provides native prompt, as opposed to in addition to a lower-level key-signing API - now accepts description parameter for title text - in v23+, removes onAttempt, as event emitting can be removed from app in favor of being handled by promise resolve/rejection - update README and examples doc to reflect
- Loading branch information
Showing
14 changed files
with
532 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.