plugins
plugins copied to clipboard
[@nativescript/biometrics] Android `promptForPin` method checks options for `pinFallBack` instead of `pinFallback`
While debugging, we found that in the promptForPin() method in the android code for biometrics, it's checking for the wrong property.
https://github.com/NativeScript/plugins/blob/a503c40264e6704cbf87ccaaa76da5b8486b4e46/packages/biometrics/index.android.ts#L426
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.