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

Added fixed error codes #56

Closed FabrizioBrancati closed 7 years ago

FabrizioBrancati commented 7 years ago

I think that adding fixed error codes can help error catching in JavaScript. I created an enum and I used the name of the case itself with .name(). I also added a Log.e with the old error strings.

Maybe fixes #51 with INIT_CIPHER_FAILED error.

simone-compagnone commented 7 years ago

Maybe fixes #59 issue