diff --git a/src/providers/touchid/touchid.ts b/src/providers/touchid/touchid.ts index cc63c2e5f..4e46b9560 100644 --- a/src/providers/touchid/touchid.ts +++ b/src/providers/touchid/touchid.ts @@ -18,8 +18,10 @@ export class TouchIdProvider { ) { } init() { - if (this.platform.isAndroid) this.checkAndroid(); - if (this.platform.isIOS) this.checkIOS(); + if (this.platform.isCordova) { + if (this.platform.isAndroid) this.checkAndroid(); + if (this.platform.isIOS) this.checkIOS(); + } } checkIOS() {