I'm developing an app, and wanted to do the fingerprint login form. But nothing is working. Code:
in the constructor:
this.fingerprintOptions = {
clientId: 'userId',
clientSecret: 'senha',
disableBackup: true
}
No login.ts
async fazerLoginImpressao(){
try{
await this.platform.ready();
const available = await this.fingerprint.isAvailable();
if(available === 'OK'){
const result = await this.fingerprint.show(this.fingerprintOptions);
}
}
catch(e){
console.error(e);
}