Open pupadhya opened 5 years ago
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:
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.
If that still doesn't work try restarting Xcode & iOS. Deleting Xcode derived data of app.
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.
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