I am using react-native-touch-id. iOS works fine but got issues with the android.
TouchID.authenticate()
.then()
.catch(error => {
});
The above snippet gives
TypeError: Cannot read property 'authenticate' of undefined
When I dig into the node_modules, in file TouchId.android.js, there is FingerprintAuth undefined in NativeModules.
RN: 0.57.2
I have tried removing the node_modules and re-setup the library, but same problem occurs.
Thanks