-
Notifications
You must be signed in to change notification settings - Fork 20
[MOO-2320] : Biometric Authetication not working issue fix #531
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
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ export async function BiometricAuthentication(reason?: string): Promise<boolean> | |
| // BEGIN USER CODE | ||
| // Documentation https://github.com/sbaiahmed1/react-native-biometrics | ||
|
|
||
| return simplePrompt(reason ?? "") | ||
| return simplePrompt(reason ?? " ") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should work, but does it make sense to use a meaningful default reason instead of an empty string? Using a blank string seems more likely to cause issues if Android or iOS decides to make that field mandatory in the future. Otherwise, we could make reason a required parameter for the action itself. |
||
| .then(result => result.success) | ||
| .catch(() => false); | ||
|
|
||
|
|
||
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.
This should be reverted. Version updates are necessary for widgets only, not for JS actions.
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.
Done.