Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(android-fingerprint-auth): fix return type of isAvailable (#1697)
As seen in the Cordova plugin (https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth) the isAvailable method returns an object that contains 3 parameters, {isAvailable:, isHardwareDetected, hasEnrolledFingerprints}. If you do a console log on this.androidFingerprintAuth.isAvailable() .then(res => console.log(res)) //Outputs the Object {isAvailable: true, isHardwareDetected: true, hasEnrolledFingerprints: true} .catch(err => console.error(err)); So we are getting the data, just need to make the interface expose it.
- Loading branch information