[@nativescript/biometrics] Android `promptForPin` method checks options for `pinFallBack` instead of `pinFallback`
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- android, typescript
- Domain
- authentication, mobile
Research direction
Start at packages/biometrics/index.android.ts around line 426 and inspect the promptForPin() options check. Correct the inconsistent fallback property name, then verify that promptForPin() recognizes the documented pinFallback option without requiring the misspelled variant.
Written by the indexing model from the issue text.
Description
While debugging, we found that in the promptForPin() method in the android code for biometrics, it's checking for the wrong property.
if (!options?.pinFallBack) {
should be
if (!options?.pinFallback) {
NOTE: We can fix it by passing both pinFallBack and pinFallback through on the options, but it would be best if this were fixed.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NativeScript/plugins
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NativeScript/plugins#680 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NativeScript/plugins#671 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
NativeScript/plugins#668 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
NativeScript/plugins#665 · 1 comment ·
-
NativeScript/plugins#660 · 1 reaction · 2 assignees ·
All issues in NativeScript/plugins
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100