I am using Expo Local Authentication finger print sensor in my 2 applications. Both these apps detecting finger print in android, but misbehaving in IOS. When I install both apps in IOS, the last installed IPA will detect the finger print sensor correctly, but the first installed IPA does not trigger the sensor and it does not even show any popup "Scan your finger.". But its all working in Android.
const signInTouch = async () => {
try{
let result = await LocalAuthentication.authenticateAsync(
{promptMessage:'Scan your finger.'}
);
console.log('Scan Result:', result);
if(result.success){
navigation.navigate('HomePage');
}
}
catch(error){
console.log(error);
Alert.alert('error', error.toString());
}
}