Problems using digital login - Ionic

0

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);

}
    
asked by anonymous 16.11.2018 / 20:29

0 answers