Problem using LocalAuthentication with disableDeviceFallback as true on Android

Please provide the following:

  1. SDK Version: 42.0.0
  2. Platforms(Android/iOS/web/all): Android/iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

On Android, when I set LocalAuthentication.authenticateAsync with an option “disableDeviceFallback: true”, the app closes with an unexpected error. I’ve got no problem with iOS. The workaround now is disabling only for iOS, but I would like to understand why it is not working on Android. Does anyone have an idea? Thanks!!

 const authenticationResult =
          await LocalAuthentication.authenticateAsync({
            disableDeviceFallback: Platform.OS === "ios" ? true : false,
            fallbackLabel: "",
          });

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.