Skip to content

Commit f90c990

Browse files
kangwang1988andreidiaconu
authored andcommitted
Fix biometrics check error below ios11. (flutter#1173)
* Fix biometrics check error below ios11.
1 parent d1d49c8 commit f90c990

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/local_auth/ios/Classes/LocalAuthPlugin.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ - (void)getAvailableBiometrics:(FlutterResult)result {
7777
} else if (context.biometryType == LABiometryTypeTouchID) {
7878
[biometrics addObject:@"fingerprint"];
7979
}
80+
} else {
81+
[biometrics addObject:@"fingerprint"];
8082
}
8183
}
8284
} else if (authError.code == LAErrorTouchIDNotEnrolled) {

0 commit comments

Comments
 (0)