Giter Club home page Giter Club logo

Comments (3)

mjwheatley avatar mjwheatley commented on August 27, 2024

Please describe your issue in more detail and provide steps to reproduce the issue. Please also list the device models you have tested.

from cordova-plugin-android-fingerprint-auth.

szankelDvag avatar szankelDvag commented on August 27, 2024

Device: Huawei Mate

Our app has some lockscreen that can be unlocked using fingerprint. The time is settable via settings. After the time has passed and user didn't touch the view the app locks:

Steps to repdouce:

Start
Wait 31 seconds
-> App is not locked
-> Screen gets black
Unlock system lock screen with fingerprint
-> Device is unlocked
Wait 31 seconds (period is set to 1 minute)
-> Application lockscreen shows up with prompt to unlock via fingerprint
-> Wait screen gets black
Try to unlock system lock with fingerprint
-> Error: System doesn't accept fingerprint instead goes to enable via code

_thumb_263326

from cordova-plugin-android-fingerprint-auth.

mjwheatley avatar mjwheatley commented on August 27, 2024

Here are my findings:

  • Launch Fingerprint Authentication Dialog
  • Hit power button to immediately lock the device (or wait until screen shuts off and locks)
  • Touch fingerprint sensor to wake and unlock phone
    • Received touch vibration, screen turns on, shows "Confirm your password" screen.
      • Touch fingerprint sensor to unlock phone
      • Enter password to unlock phone
  • Phone unlocks and resumes app
    • Fingerprint Auth Dialog is not showing

Conclusion

  • The Fingerprint Auth Dialog has registered a touch listener for the fingerprint sensor so the first time the fingerprint sensor is touched to unlock the phone triggers the dialog's callback instead of unlocking the device.
  • Even though the "Confirm your password" screen appears, user is still able to unlock the device with a fingerprint by touching the sensor a second time (Unknown if this is device specific).
  • After unlocking the device the application resumes and the authentication dialog has been closed. User will need to reinitiate authentication request.

I find these results acceptable and have determined this is not an issue with the plugin.

from cordova-plugin-android-fingerprint-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.