Android Question Error in BiometricManager class

Humberto

Active Member
Licensed User
Longtime User
The error occurs inside BiometricManager

I tested in
Moto G6 Plus android 9 with fingerprint and OK
LG with android 4.12 with fingerprint works
Moto G5Plus with android 8.1 with fingerprint and crash


B4X:
'This is inside BiometricManager
Public Sub CanAuthenticate As String
    Dim v As Int = Manager.RunMethod("canAuthenticate", Null)
    Select v
        Case 1
            Return "UNAVAILABLE"
        Case 11
            Return "NONE_ENROLLED"
        Case 12
            Return "NO_HARDWARE"
        Case 0
            Return "SUCCESS"
        Case Else
            Return "UNKNOWN"
    End Select
End Sub

The error occurrs in this line " Dim v As Int = Manager.RunMethod("canAuthenticate", Null)"


I put a Try and Catch to bypass but I can not use the fingerprint
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…