File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-authsignal" ,
3
- "version" : " 1.5 .0" ,
3
+ "version" : " 1.6 .0" ,
4
4
"description" : " The official Authsignal React Native library." ,
5
5
"main" : " lib/commonjs/index" ,
6
6
"module" : " lib/module/index" ,
Original file line number Diff line number Diff line change @@ -133,6 +133,19 @@ export class AuthsignalPasskey {
133
133
}
134
134
}
135
135
136
+ isSupported ( ) : boolean {
137
+ if ( Platform . OS === 'android' ) {
138
+ return Platform . Version >= 28 ;
139
+ } else if ( Platform . OS === 'ios' ) {
140
+ return parseInt ( Platform . Version , 10 ) >= 15 ;
141
+ } else {
142
+ return false ;
143
+ }
144
+ }
145
+
146
+ /**
147
+ * @deprecated Use 'preferImmediatelyAvailableCredentials' to control what happens when a passkey isn't available.
148
+ */
136
149
async isAvailableOnDevice ( ) : Promise < boolean > {
137
150
await this . ensureModuleIsInitialized ( ) ;
138
151
You can’t perform that action at this time.
0 commit comments