Skip to content

Commit

Permalink
Fix calling init() on undefined in biometrics.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
djsmith85 committed Jan 15, 2024
1 parent 36b2d8b commit d6ca296
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ export class BiometricsService implements BiometricsServiceAbstraction {
}

async init() {
return await this.platformSpecificService.init();
if (this.platformSpecificService) {
return await this.platformSpecificService.init();
}
}

async osSupportsBiometric() {
Expand Down

0 comments on commit d6ca296

Please sign in to comment.