Code Monkey home page Code Monkey logo

Comments (7)

EddyVerbruggen avatar EddyVerbruggen commented on May 27, 2024

Hi, good questions.

The UI is presented by iOS and (at the moment) cannot be altered by an app (or plugin for that matter) so the 'Enter passcode' button can't be removed. Clicking it should result in a specific error code being sent to your callback so you can present a (native or HTML based) password dialog yourself. iOS does not support some magic 5-digit code popup thingy once you press that button (to my knowledge at least).

from cordova-plugin-touch-id.

EddyVerbruggen avatar EddyVerbruggen commented on May 27, 2024

Hi, found a solution. Available in 2.0.0.

Cheers,
Eddy

from cordova-plugin-touch-id.

immigrationanytime avatar immigrationanytime commented on May 27, 2024

Hi Eddy,
I added the plugin. The first screen I get does not show the "Enter Passcode" button. If my fingerprint does not match then a second screen opens with the "Enter Passcode" option. Am I doing something wrong?
Thanks,
Hans

from cordova-plugin-touch-id.

EddyVerbruggen avatar EddyVerbruggen commented on May 27, 2024

Hi Hans, that may be the default these days - what do other Touch ID enabled apps show as the first screen (make sure the attempt before was OK).

from cordova-plugin-touch-id.

immigrationanytime avatar immigrationanytime commented on May 27, 2024

thanks. I will check that. Do you have a list of error messages and error codes returned by the plugin?

from cordova-plugin-touch-id.

EddyVerbruggen avatar EddyVerbruggen commented on May 27, 2024

Yeah, in the error callback you'll get the objective-c errorcode and localized description of this list of errors

from cordova-plugin-touch-id.

immigrationanytime avatar immigrationanytime commented on May 27, 2024

I verified that user is first asked to touch, then if that fails, either "Enter Passcode" or "Enter Password" option appears.
Thanks for the error codes.

from cordova-plugin-touch-id.

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.