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

Changes for multilogin optional #39

Closed simone-compagnone closed 7 years ago

simone-compagnone commented 7 years ago

With these changes the multilogin is optional for the plugin. So you can use clientId (required) + username (optional, empty string for "undefined" value) to store the shared preference. The Key for the shared preference is clientid+username and the encrypt string is clientid+username+":"+password. In this way the multilogin is optional and not required, the developer can choose to use or not.

mjwheatley commented 7 years ago

I included your changes with other revisions I made. I decided to remove the FingerprintAuth.show() method in favor of separate methods for encryption and decryption.

mjwheatley commented 7 years ago

Published version 1.2.0