Hi Guys, i have some issue when i build with ms appcenter ci/cd the apps crash when runing biometric function, but when i build with my local laptop everything is normal, can you help me guys?
here the function:
export const BiometricAvailability = async () => { const {available, biometryType, error} = await ReactNativeBiometrics.isSensorAvailable(); if (available && biometryType === ReactNativeBiometrics.TouchID) { return true; } else if (available && biometryType === ReactNativeBiometrics.FaceID) { return true; } else if (available && biometryType === ReactNativeBiometrics.Biometrics) { return true; } else { console.log('Biometrics not supported', error); return false; } };
here when i call the function:
const isBiometricAvailable = await BiometricAvailability();
Hi Guys, i have some issue when i build with ms appcenter ci/cd the apps crash when runing biometric function, but when i build with my local laptop everything is normal, can you help me guys?
here the function:
export const BiometricAvailability = async () => { const {available, biometryType, error} = await ReactNativeBiometrics.isSensorAvailable(); if (available && biometryType === ReactNativeBiometrics.TouchID) { return true; } else if (available && biometryType === ReactNativeBiometrics.FaceID) { return true; } else if (available && biometryType === ReactNativeBiometrics.Biometrics) { return true; } else { console.log('Biometrics not supported', error); return false; } };
here when i call the function:
const isBiometricAvailable = await BiometricAvailability();