privacyidea / pi-authenticator

OTP Authenticator App for privacyIDEA Authentication Server
Other
35 stars 19 forks source link

iOS: PlatformException(NotAvailable, Authentication canceled., com.apple.LocalAuthentication, null) #324

Closed frankmer closed 10 months ago

frankmer commented 10 months ago

Canceling authentication throws a PlatformException on some devices instead of returning false. Catch it and set hasAuthenticated to false.