import { TouchID } from '@awesome-cordova-plugins/touch-id/ngx';
constructor(private touchId: TouchID) { }
...
this.touchId.isAvailable()
.then(
res => console.log('TouchID is available!'),
err => console.error('TouchID is not available', err)
);
this.touchId.verifyFingerprint('Scan your fingerprint please')
.then(
res => console.log('Ok', res),
err => console.error('Error', err)
);