rushisangani / BiometricAuthentication

Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication.
MIT License
831 stars 110 forks source link

Adding requirement for iOS 11.0.1 or newer for property `biometryType` #15

Open karlisl opened 6 years ago

karlisl commented 6 years ago

Fix for "Property biometryType is only available on iOS 11.0.1 or newer". Library won't compile under iOS 11.3 SDK.

... when checking for biometryType availability, please check against iOS 11.0.1, because iOS 11.0 didn’t contain the property at all, so you’d end up crashing on devices that still run the initial 11.0 release. The annotation was fixed in 11.2 or 11.3.

https://openradar.appspot.com/36064151 https://github.com/mshibanami/BiometryTypeBugWorkaround