ionic4 TouchId and FaceId not working as expected. I have installed.
“cordova-plugin-touch-id”: “^3.4.0”,
“@ionic-native/touch-id”: “^5.3.0”,
if (this._platform.is(‘ios’)) {
this.touchId.isAvailable()
.then(
res => {
console.log('TouchID is available!')
this.touchIdLabel = "TOUCH ID";
},
err => {
console.error('TouchID is not available', err)
this.touchIdLabel = err;
}
);
}
It gives error: “Plugin_not_installed”,
It is working for ionic-3.
I also tried with other versions:
“@ionic-native/touch-id”: “^5.17.1”,
“cordova-plugin-touch-id”: “^3.4.0”,