Dear all,
I had followed exactly this documentation to try to implement TouchID into my mobile app. However, I got this error in the process.
EXCEPTION: TypeError: _ionicNative.TouchID.isAvailable is not a function. (In '_ionicNative.TouchID.isAvailable()', '_ionicNative.TouchID.isAvailable' is undefined)
My code are as followed:
// Check for TouchID.
TouchID.isAvailable().then(
res => {
TouchID.verifyFingerprint('Scan your fingerprint please').then(
res => {
},
err => {
}
);
},
err => {
}
);
I’m using ionic-native @ 1.3.2