Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "Enter Passcode" option shown when wrong Fingerprint is provided #76

Open
pupadhya opened this issue Feb 18, 2019 · 2 comments
Open

Comments

@pupadhya
Copy link

I have used the latest version (3.4.0) of cordova-plugin-touch-id in my iOS app, which is running on iPad Pro (iOS version - 12.1).
When the app launches, it throws a pop-up to the user to scan fingerprint. However, on giving a wrong fingerprint (not previously registered on the iPad), it doesnt provide "Enter Passcode" option any more. The same functionality was working when we imported the plugin in Dec 2018. However, it has stopped working with the new pull.

We are using "verifyFingerprint" method and nothing has changed except for installing the latest plugin in Feb 2019.

Please suggest why this has stopped working all of a sudden, with absolutely no code change from our end.

Regards,
Pavithra

@danicholls
Copy link

Does this help? #78

@SensehacK
Copy link

SensehacK commented May 31, 2019

Follow these steps maybe it could resolve the issue temporarily.

Step 1 : Downgrade to 3.1.1 helps for getting "Enter Passcode" option.

Step 2: Also if it doesn't reflect "Enter Passcode" option directly, try deleting the plugin "cordova-plugin-touch-id" via cordova remove plugin. Reinstall the plugin with @3.1.1 or @3.1.0

Step 3: After that remove iOS platform & build with "ionic cordova build ios".

Quirks:

  1. Also if the "Enter Passcode" doesn't shows up directly you could need to remove the app first from iOS or remove it from "Window" -> "Devices & Simulator" screen of Xcode.

  2. If that still doesn't work try restarting Xcode & iOS. Deleting Xcode derived data of app.

  3. If also this all of it doesn't work after performing, try changing "Bundle Identifier" of the application in Xcode which generates new Application Sandbox in iOS so maybe it picks up the actual plugin which is been changed & not use the already not working cached plugin.

These are all the steps I have observed & tried mitigating the problem.

But still #79 this issue is persistent as per my testing on iOS 12.0.1 - iOS 12.2 on iPhone X & iPhone 7 & iPhone 8+.
Edit : #79 Works fine with my iPhone restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants