skip device validation in ios
This commit is contained in:
parent
ff74376bc5
commit
ea2e1c91de
1 changed files with 4 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ angular.module('copayApp.services')
|
||||||
var isChromeApp = platformInfo.isChromeApp;
|
var isChromeApp = platformInfo.isChromeApp;
|
||||||
var isCordova = platformInfo.isCordova;
|
var isCordova = platformInfo.isCordova;
|
||||||
var isWP = platformInfo.isWP;
|
var isWP = platformInfo.isWP;
|
||||||
|
var isIOS = platformInfo.isIOS;
|
||||||
|
|
||||||
var root = {};
|
var root = {};
|
||||||
var errors = bwcService.getErrors();
|
var errors = bwcService.getErrors();
|
||||||
|
|
@ -117,7 +118,9 @@ angular.module('copayApp.services')
|
||||||
};
|
};
|
||||||
|
|
||||||
root.runValidation = function(client) {
|
root.runValidation = function(client) {
|
||||||
var skipDeviceValidation = root.profile.isDeviceChecked(platformInfo.ua);
|
|
||||||
|
// IOS devices are already checked
|
||||||
|
var skipDeviceValidation = isIOS || root.profile.isDeviceChecked(platformInfo.ua);
|
||||||
var walletId = client.credentials.walletId;
|
var walletId = client.credentials.walletId;
|
||||||
|
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue