I was facing the issue of Passcode was not working for IOS after the wrong attempt.After upgrade the library PIN is working for Android but for IOS passcode is still not working.
I am using the createSignature() function when login with FaceID/Fingerprint and createSignature() is not supporting the Passcode prompt after the wrong attempt.
So I have made some native changes for IOS and created a patch.
Hope It will help you and You can save your time.
Note: In the below patch, Custom SubTitle and Description for Android is also added .
Hi Guy's ,
I was facing the issue of Passcode was not working for IOS after the wrong attempt.After upgrade the library PIN is working for Android but for IOS passcode is still not working.
I am using the createSignature() function when login with FaceID/Fingerprint and createSignature() is not supporting the Passcode prompt after the wrong attempt.
So I have made some native changes for IOS and created a patch. Hope It will help you and You can save your time.
Note: In the below patch, Custom SubTitle and Description for Android is also added .
You can use it like
const rnBiometrics = new ReactNativeBiometrics()
rnBiometrics.createSignature({ promptMessage: 'Sign in', subTitle:'Your SubTitle',
description:'Add Description'.
payload: payload }) .then((resultObject) => { const { success, signature } = resultObject
})
yarn patch-package
react-native-biometrics+3.0.1.patch
Happy Coding 😊