Merge pull request #7156 from Gamboster/fix/touchIdNoCordova

Fix v4: check for cordova device before init fingerprint
This commit is contained in:
Gustavo Maximiliano Cortez 2017-11-14 11:39:50 -03:00 committed by GitHub
commit 07f06b22a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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() {