Closed MohamedAhmed122 closed 2 years ago
@naoufal I followed the docs to implement the Touch ID but I have this error now
here is my code
const clickHandler = () => { TouchID.isSupported() .then(() => { console.log('yes'); // it console yes authenticate(); }) .catch(error => { Alert.alert('TouchID not supported'); }); }; const authenticate = () => { return TouchID.authenticate() .then(success => { Alert.alert('Authenticated Successfully'); }) .catch(error => { console.log(error); // it console Authentication could not start because Touch ID has no enrolled fingers.] Alert.alert(error.message); });
basically TouchID.isSupported() is Working but the TouchID.authenticate() 's not working
TouchID.isSupported()
TouchID.authenticate()
any clue what's the issue? or maybe solution
@naoufal I followed the docs to implement the Touch ID but I have this error now
here is my code
basically
TouchID.isSupported()
is Working but theTouchID.authenticate()
's not workingany clue what's the issue? or maybe solution