hieuvp / react-native-fingerprint-scanner

Provide Fingerprint, Touch ID, and Face ID Scanner for React Native (Compatible with both Android and iOS)
https://www.npmjs.com/package/react-native-fingerprint-scanner
870 stars 298 forks source link

FingerPrint Change #163

Open amircoh opened 3 years ago

amircoh commented 3 years ago

is there any way how to detect when FingerPrint has changed?

276259822 commented 2 years ago

#174

mikehardy commented 2 years ago

@276259822 you should propose that as a PR, it would be easy to make backwards-compatible and thus easy to integrate. Right now the authenticate APIs just return a Promise<void> but if you returned a new BiometricResult<[key: string]: value: string> and in there you had a key/value of biometricChanged?: boolean you could convey the information to callers of the API for iOS at least