Skip to content

Commit

Permalink
Fix biometrics check error below ios11. (flutter#1173)
Browse files Browse the repository at this point in the history
* Fix biometrics check error below ios11.
  • Loading branch information
kangwang1988 authored and andreidiaconu committed Feb 17, 2019
1 parent d1d49c8 commit f90c990
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/local_auth/ios/Classes/LocalAuthPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ - (void)getAvailableBiometrics:(FlutterResult)result {
} else if (context.biometryType == LABiometryTypeTouchID) {
[biometrics addObject:@"fingerprint"];
}
} else {
[biometrics addObject:@"fingerprint"];
}
}
} else if (authError.code == LAErrorTouchIDNotEnrolled) {
Expand Down

0 comments on commit f90c990

Please sign in to comment.