naoufal / react-native-touch-id

React Native authentication with the native Touch ID popup.
https://www.npmjs.com/package/react-native-touch-id
1.47k stars 476 forks source link

how to check touch id inside screen #268

Open chienvu123 opened 4 years ago

chienvu123 commented 4 years ago

hi every body, i have a issue: device have touch id inside screen => request authen touch id => show default screen of devices + dialog of library => how to check device have touch id inside screen then hidden dialog?

Ex: Vinsmart live, Oppo Reno, galaxy s10+, ... Thank!

amitk7407 commented 3 years ago

@chienvu123 did you get any solution for this issue? @team, I have implemented my own design for Android fingerprint authentication which is working fine in all devices except the one with in-display fingerprint. In in-display fingerprint devices, there is one another dialog appearing on top of my custom dialog which is causing two dialogs to be visible. Is there any way we can fix this another dialog to disappear? Or how can we detect if some default dialog is gonna appear so that I can disable my custom dialog in that scenario? Or how can we detect if the device has in-display fingerprint? Answer to any one of these will help. Thank you