From ea2e1c91de2b07a014976737a04636e9769e0f5c Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 17 Jun 2016 09:33:31 -0300 Subject: [PATCH] skip device validation in ios --- src/js/services/profileService.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js index 73078e279..6268bd4cd 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -6,6 +6,7 @@ angular.module('copayApp.services') var isChromeApp = platformInfo.isChromeApp; var isCordova = platformInfo.isCordova; var isWP = platformInfo.isWP; + var isIOS = platformInfo.isIOS; var root = {}; var errors = bwcService.getErrors(); @@ -117,7 +118,9 @@ angular.module('copayApp.services') }; 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; $timeout(function() {