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
169 stars 131 forks source link

Encrypt doesn't call success or error callback on Android #111

Closed pom421 closed 6 years ago

pom421 commented 6 years ago

Hello,

I made a Cordova project from scratch and when i call encrypt, after the authentification popup appears, the authentification seems OK but none of the callback are invoked.

Cordova CLI : 8.0.0 Cordova Android : 7.0.0 cordova-plugin-android-fingerprint-auth: 1.4.3

My Android phone is running the 8.1 version.

You can see a repo for the project which shows the bug : https://github.com/pom421/fingerprint-auth-bug

pom421 commented 6 years ago

Ok, I had forgotten to prevent the submit of the HTML form. Cordova was not ready the second time.

        <form onsubmit="return false">
            <input placeholder="login" name="login" id="login">
            <input placeholder="password" name="password" id="password">
            <button onclick="doSubmit()">OK</button>
            <button type="reset">Reset</button>
        </form>

No problem at this time so :)