File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ fingerprintAuth.available().then(
44
44
```
45
45
46
46
#### TypeScript
47
- ``` js
47
+ ``` typescript
48
48
import { FingerprintAuth } from " nativescript-fingerprint-auth" ;
49
49
50
50
class MyClass {
@@ -54,11 +54,12 @@ class MyClass {
54
54
this .fingerprintAuth = new FingerprintAuth ();
55
55
}
56
56
57
- this .fingerprintAuth .available ().then (
57
+ this .fingerprintAuth .available ()
58
+ .then (
58
59
(avail : boolean ) => {
59
60
console .log (` Available? ${avail } ` );
60
- });
61
- );
61
+ }
62
+ );
62
63
}
63
64
```
64
65
@@ -129,6 +130,7 @@ fingerprintAuth.available().then(
129
130
```
130
131
131
132
## Changelog
133
+ - 4.0.1 Aligned with [ the official NativeScript plugin seed] ( https://github.com/NativeScript/nativescript-plugin-seed ) . Requires NativeScript 3.0.0+. Thanks, @angeltsvetkov !
132
134
- 4.0.0 Converted to TypeScript. Changed the error response type of ` verifyFingerprintWithCustomFallback ` .
133
135
- 3.0.0 Android support added. Renamed ` nativescript-touchid ` to ` nativescript-fingerprint-auth ` (sorry for any inconvenience!).
134
136
- 2.1.1 Xcode 8 compatibility - requires NativeScript 2.3.0+.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-fingerprint-auth" ,
3
- "version" : " 4.0.0 " ,
3
+ "version" : " 4.0.1 " ,
4
4
"description" : " A fingerprint authentication plugin for use in NativeScript apps" ,
5
5
"main" : " fingerprint-auth" ,
6
6
"nativescript" : {
You can’t perform that action at this time.
0 commit comments