However, I get this error: [Unhandled promise rejection: TypeError: undefined is not an object (evaluating ‘_expo.default.Fingerprint’)]
Am I importing Expo incorrectly? Do I have to do any sort of configuration elsewhere?
Edit: I ran the Demo Snack linked above and it worked perfectly on my iOS and Android device. When I run the code myself though I get the error that the devices aren’t compatible. I have a feeling this error being returned is what’s stopping the devices compatibility being recognised.
So as of SDK32 you can either import specific modules such as import {LocalAuthentication} from 'expo' or if you want the whole package you have to do import * as Expo from 'expo'. Additionally the biometrics API has been renamed to LocalAuthentication as Fingerprint no longer properly described the API as Face Detection was also a possibility. https://docs.expo.io/versions/v32.0.0/sdk/local-authentication/
Sorry about the out of date Snack example, I’ll be sure to update it today. Let me know if you have any questions.