Replies: 27 comments 1 reply
-
Did you check adb, Cordova logs, and logcat? Maybe your phone is not setup correcty. |
Beta Was this translation helpful? Give feedback.
-
Yes, I have checked them, everything seems to be good, I have tried with 3 different phones but same error. Dialogue box only appears in next screen after I log in. |
Beta Was this translation helpful? Give feedback.
-
This sounds like an error in your app. Check if you are doing everything in the right order. For questions please use Gitter in favor of issues on this repo. |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue. Everything seems to be correct but my phone(android) just doesn't show the fingerprint authentication dialog. My code is : `fingerprintOptions : FingerprintOptions; constructor(public navCtrl: NavController, public navParams: NavParams, private platforn : Platform, private fingerprint : FingerprintAIO) {
async verify(){
` |
Beta Was this translation helpful? Give feedback.
-
I solved this problem by removing this plugin https://ionicframework.com/docs/native/keychain-touch-id/. Somehow these two plugins cannot work together. |
Beta Was this translation helpful? Give feedback.
-
My app was not crashing actually, it just wasn't showing the fingerprint dialog, and I realized that it is because of isAvaible() method was not returning the string "ok" in my phone or in whole android 8 platform. It was returning the string "finger". :D. yea just finger. I fucking loled when I first saw it. |
Beta Was this translation helpful? Give feedback.
-
Ok good to know |
Beta Was this translation helpful? Give feedback.
-
I'm currently having the same issue. I tested in a blank project and on my early dev project and all worked good. Now is stopping the app when faio.show() runs. Even I can see in console .isAvailable() results but no errors, then app crashes. You have any idea of this behavior? Might I think is dependency conflict maybe? @NiklasMerz I attach the logcat output below:
thanks for your support. |
Beta Was this translation helpful? Give feedback.
-
Do you have any other plugins that can cause this? I cannot see anything in the logcat that explains this. |
Beta Was this translation helpful? Give feedback.
-
This is my package.json file:
|
Beta Was this translation helpful? Give feedback.
-
Maybe the cordova-plugin-pin-dialog plugin is interfering. |
Beta Was this translation helpful? Give feedback.
-
still not working. Might I consider another dependency? Is a really strange behavior. I'll appreciate your support, is important for this project. |
Beta Was this translation helpful? Give feedback.
-
Did you test the plugin in a new blank app? Are you running on a real device or emulator? |
Beta Was this translation helpful? Give feedback.
-
I tested it in new blank project and even in my early dev project, and all was working good at the beginning. All tests have been performed on Android devices (Samsung S9+, S8, S7). |
Beta Was this translation helpful? Give feedback.
-
Are you really shure the fingeprint plugin causes this crash? Does clearing the app storage on Android help? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Just a guess but you are doing an unecessary **await** this.fingerprint.show({
clientId: 'ionic-conference-app',
clientSecret: 'password',
disableBackup: false
})
.then((result: any) => {
console.log(result);
this.openModal();
})
.catch((error: any) => {
console.log(error);
}); If you are using then on a promise the await could cause problems. You could also try the newest PR #142 to test if that helps for you. Now the app should not crash with certain UI operations. |
Beta Was this translation helpful? Give feedback.
-
I removed and upgraded the cordova-plugin-fingerprint-aio version to 1.6.0 and it works! Thanks for your support. |
Beta Was this translation helpful? Give feedback.
-
Perfect. 1.6.0 should become a new release soon
…I removed and upgraded the cordova-plugin-fingerprint-aio version to
1.6.0 and it works! Thanks for your support.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/issues/111#issuecomment-456549778
|
Beta Was this translation helpful? Give feedback.
-
It's right!! /platforms/android/app/src/main/res/drawable/ic_fingerprint_error.xml" already exists! Someone, can work with both? Any suggest? |
Beta Was this translation helpful? Give feedback.
-
@JrSagas Thank you for reporting. I just created a seperate issue for tracking this. It looks like those two plugins can work together if we rename some icons. Would you like to try this for solving you problem? If it works please create a pull request. Renaming those files with Looking forward to your reply. |
Beta Was this translation helpful? Give feedback.
-
I'm using ionic + cordova. I solved it adding this in the config.xml:
|
Beta Was this translation helpful? Give feedback.
-
@NiklasMerz I have installed latest Cordova-android 9.0.0 and Cordova finger print aio3.0.1, its working perfectly on IOS device, but android app is getting crashing as soon as biometric.show method gets triggered. please let me know if there is any work around. |
Beta Was this translation helpful? Give feedback.
-
Not working |
Beta Was this translation helpful? Give feedback.
-
Facing the same issue as well, please did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
Yes. Upgrade to Latest fingerprint aio version |
Beta Was this translation helpful? Give feedback.
-
Please check Logcat in Android Studio if you see any errors and stacktraces |
Beta Was this translation helpful? Give feedback.
-
I have used this https://ionicframework.com/docs/native/fingerprint-aio/, for implementing touchID and FaceId for my app. In IOS it is working perfectly but when I emulate my app in Android device fingerprint dialog is not showing and app is just crashing. I have used same code as it is described in link above.
Any idea what it can be? I followed every instruction but no success.
Beta Was this translation helpful? Give feedback.
All reactions