LocalAuthentication exception on Android

#1

Hi there,
I’m trying to add fingerprint authentication to our detached expokit app and it’s working fine on iOS, but Android is logging this error when I try to call any Expo.LocalAuthentication methods:

[Error: Encountered an exception while calling native method: Exception occurred while executing exported method hasHardwareAsync on module ExpoLocalAuthentication: null]

We have a test app (non-detached) and the localAuthentication works fine in there on both iOS and Android.
Is there any special linking that I must do to in order for expokit to access the native these modules?

If I log the results of Expo.LocalAuthentication I see only anonymous functions, which leads me to believe that the native modules are not being found in NativeModulesProxy.js

Any help would be appreciated!

closed #2

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