EddyVerbruggen / cordova-plugin-touch-id

:nail_care: 👱‍♂️ Forget passwords, use a fingerprint scanner!
MIT License
214 stars 72 forks source link

A user action (e.g. "a single tap") is required after touchid.verifyFingerprint success callback #60

Closed orenagiv closed 6 years ago

orenagiv commented 6 years ago

Hi Eddy,

Using Angular 5.2 with Cordova 8.0.0 and with cordova-plugin-wkwebview-engine - after the Touch ID verification is complete - it fires the callback just fine, but for some reason it won't "proceed" until I touch the screen.

Any ideas?

orenagiv commented 6 years ago

Found the problem! I had to force Angular to check for changes: this.changeDetector.detectChanges();

References: https://angular.io/api/core/ChangeDetectorRef https://alligator.io/angular/change-detection-strategy/