Promise does not fulfill nor fails on using device credentials

Please provide the following:

  1. SDK Version:
    “expo-local-authentication”: “^11.0.2”
    “react-native-unimodules”: “^0.13.3”,
  2. Platforms(Android/iOS/web/all): Android

When authenticating using a passcode or pattern the promise is never fulfilled nor failed, the app will just hang forever.

Already found this related issue on google forums, I don’t know if it is related or not, but without this functionality this library loses the use purpose I initially had.

Code snippet can be found here:

const result = await LocalAuthentication.authenticateAsync()
console.log(result)
if (!result.success) {
  console.warn(result)
  return null
}
console.log('success')

Hey @j0n36o, would you mind creating a github issue for this? When you do can you share all the relevant information about the devices/emulators and OS versions you’ve reproduced the behavior on?

Cheers,
Adam