You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Want a nicer guide than these raw code samples? Read [Nic Raboy's blog post about this plugin](https://www.thepolyglotdeveloper.com/2016/03/add-touch-id-authentication-support-to-your-nativescript-app/).
35
-
36
-
### `available`
37
-
38
-
#### JavaScript
39
-
40
-
```js
41
-
var fingerprintAuthPlugin =require('@nativescript/fingerprint-auth')
42
-
var fingerprintAuth =newfingerprintAuthPlugin.FingerprintAuth()
// re-auth the user by asking for his credentials before allowing a fingerprint scan again
147
-
} else {
148
-
// call the fingerprint scanner
149
-
}
150
-
})
151
-
})
152
-
```
153
-
154
-
## Changelog
155
-
156
-
- 6.2.0 [Fixed a potential bypass on iOS](https://github.com/EddyVerbruggen/nativescript-fingerprint-auth/issues/41).
157
-
- 6.1.0 [Fixed potentioal bypasses on Android](https://github.com/EddyVerbruggen/nativescript-fingerprint-auth/milestone/8?closed=1).
158
-
- 6.0.3 [Android interfered with other plugins' Intents](https://github.com/EddyVerbruggen/nativescript-fingerprint-auth/pull/28).
159
-
- 6.0.2 [Plugin not working correctly on iOS production builds / TestFlight](https://github.com/EddyVerbruggen/nativescript-fingerprint-auth/issues/27).
160
-
- 6.0.1 Fixed a compatibility issues with NativeScript 3.4.
161
-
- 6.0.0 Allow custom UI on Android.
162
-
- 5.0.0 Better `Face ID` support. Breaking change, see the API for `available`.
163
-
- 4.0.1 Aligned with [the official NativeScript plugin seed](https://github.com/NativeScript/nativescript-plugin-seed). Requires NativeScript 3.0.0+. Thanks, @angeltsvetkov!
164
-
- 4.0.0 Converted to TypeScript. Changed the error response type of `verifyFingerprintWithCustomFallback`.
165
-
- 3.0.0 Android support added. Renamed `nativescript-touchid` to `nativescript-fingerprint-auth` (sorry for any inconvenience!).
0 commit comments