From 4e6eb3295d682bbb86b4ec0d4e632b2e12a6bc0f Mon Sep 17 00:00:00 2001 From: Brendon Duncan Date: Thu, 31 May 2018 18:08:04 +1200 Subject: [PATCH] Now works on Android too. --- src/js/services/secureStorageService.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/services/secureStorageService.js b/src/js/services/secureStorageService.js index 2c3a94703..7c374521b 100644 --- a/src/js/services/secureStorageService.js +++ b/src/js/services/secureStorageService.js @@ -47,7 +47,8 @@ angular.module('copayApp.services').factory('secureStorageService', function($lo function (error) { console.log('ss Error "' + error.message + '" ' + JSON.stringify(error)); - if (error.message === 'Failure in SecureStorage.get() - The specified item could not be found in the keychain') { + if (error.message === 'Failure in SecureStorage.get() - The specified item could not be found in the keychain' || + error.message === 'Key [_SS_profile] not found.') { $log.debug("Sending back null error."); // The callback expects no error, but also no value, if it cannot be found. cb(null);