epicshaggy / capacitor-native-biometric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undefined result

antoniskamzel opened this issue · comments

image
i run this code on android and the result is undefined. What could be wrong?

What is your Capacitor Info? npx cap doctor
What android device is this running on? emulator? physical?

I made it work by changing the await statement to isAvailable().then(result => ...). Probably it was a mistake by me. I will try again with async await and see if i did something wrong