mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #7156 from Gamboster/fix/touchIdNoCordova
Fix v4: check for cordova device before init fingerprint
This commit is contained in:
commit
07f06b22a7
|
@ -18,9 +18,11 @@ export class TouchIdProvider {
|
|||
) { }
|
||||
|
||||
init() {
|
||||
if (this.platform.isCordova) {
|
||||
if (this.platform.isAndroid) this.checkAndroid();
|
||||
if (this.platform.isIOS) this.checkIOS();
|
||||
}
|
||||
}
|
||||
|
||||
checkIOS() {
|
||||
this.touchId.isAvailable()
|
||||
|
|
Loading…
Reference in New Issue