From 9147741a27ad7572dd59c1a5b41b3c99d9ad87a7 Mon Sep 17 00:00:00 2001 From: Camila Kutscher Date: Tue, 13 Nov 2018 11:19:11 -0300 Subject: [PATCH] Se elimina keychain en backup --- src/ios/SecureStorage.m | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/ios/SecureStorage.m b/src/ios/SecureStorage.m index 7027b13d..97844339 100644 --- a/src/ios/SecureStorage.m +++ b/src/ios/SecureStorage.m @@ -42,10 +42,7 @@ - (void)set:(CDVInvokedUrlCommand*)command if( [[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0 ){ self.keychainAccesssibilityMapping = [NSDictionary dictionaryWithObjectsAndKeys: (__bridge id)(kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly), @"afterfirstunlockthisdeviceonly", - (__bridge id)(kSecAttrAccessibleAfterFirstUnlock), @"afterfirstunlock", - (__bridge id)(kSecAttrAccessibleWhenUnlocked), @"whenunlocked", (__bridge id)(kSecAttrAccessibleWhenUnlockedThisDeviceOnly), @"whenunlockedthisdeviceonly", - (__bridge id)(kSecAttrAccessibleAlways), @"always", (__bridge id)(kSecAttrAccessibleAlwaysThisDeviceOnly), @"alwaysthisdeviceonly", (__bridge id)(kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly), @"whenpasscodesetthisdeviceonly", nil]; @@ -53,10 +50,7 @@ - (void)set:(CDVInvokedUrlCommand*)command else{ self.keychainAccesssibilityMapping = [NSDictionary dictionaryWithObjectsAndKeys: (__bridge id)(kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly), @"afterfirstunlockthisdeviceonly", - (__bridge id)(kSecAttrAccessibleAfterFirstUnlock), @"afterfirstunlock", - (__bridge id)(kSecAttrAccessibleWhenUnlocked), @"whenunlocked", (__bridge id)(kSecAttrAccessibleWhenUnlockedThisDeviceOnly), @"whenunlockedthisdeviceonly", - (__bridge id)(kSecAttrAccessibleAlways), @"always", (__bridge id)(kSecAttrAccessibleAlwaysThisDeviceOnly), @"alwaysthisdeviceonly", nil]; } @@ -123,4 +117,4 @@ -(void)failWithMessage:(NSString *)message : (NSError *)error : (NSString *)call [self.commandDelegate sendPluginResult:commandResult callbackId:callbackId]; } -@end \ No newline at end of file +@end