- SDK Version: 34.0.0
- iOS
I’m getting the error ‘Invariant Violation: LocalAuthentication.authenticateAsync must be called with a non-empty string on iOS’ when trying to run the following code:
LocalAuthentication.authenticateAsync({ promptMessage: 'Sign into App with your Fingerprint or FaceId', fallbackLabel: 'Use your iPhone passcode to sign into App', })
Here is my app.json:
"infoPlist": { "NSFaceIDUsageDescription": "Give App experiences permission to use FaceID" }
Also, if I call authenticateAsync() with no arguments, it will prompt me to provide my passcode instead of FaceID.
Any ideas?