mjwheatley / cordova-plugin-android-fingerprint-auth

A cordova plugin for fingerprint authentication using the hardware fingerprint scanner on devices running Android 6+
Apache License 2.0
168 stars 131 forks source link

Attempt to invoke virtual method #148

Open malwatte opened 4 years ago

malwatte commented 4 years ago

Anyone knows what this error means?

Attempt to invoke virtual method 'boolean android.hardware.fingerprint.FingerprintManager.isHardwareDetected()' on a null object reference"

Getting this error when calling isAvailable() in devices like Pixel 4 (Android 10).

WuglyakBolgoink commented 4 years ago

@malwatte can you check if android.hardware.fingerprint.FingerprintManager exist on device?

WuglyakBolgoink commented 4 years ago

@mjwheatley related to https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/issues/151 and https://github.com/omadahealth/LolliPin/issues/195