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

Error FINGERPRINT_DATA_NOT_DELETED #78

Closed WuglyakBolgoink closed 7 years ago

WuglyakBolgoink commented 7 years ago

If no data was saved and I try to call second time delete() I got exception FINGERPRINT_DATA_NOT_DELETED.

https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth/blob/master/src/android/FingerprintAuth.java#L351-L371

In my case this is no error...

Can I ignore this error?

mjwheatley commented 7 years ago

You are probably receiving that exception because there was no data found to be deleted.

Yes, you would be fine to ignore the exception and proceed.

WuglyakBolgoink commented 7 years ago

Hallo @mjwheatley

In which case I can get this Exception?

mjwheatley commented 7 years ago

The one you said you were receiving.