-
-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
Description
When building for iOS, I get the error: "switch must be exhaustive" in the Fingerprint swift file.
My solution was to add the opticID case to the list:
if #available(iOS 11.0, *) {
switch(authenticationContext.biometryType) {
case .none:
biometryType = "none";
case .touchID:
biometryType = "finger";
case .faceID:
biometryType = "face";
case .opticID:
biometryType = "optic";
}
}