mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Exclude all items from iCloud backup
Signed-off-by: Andy Uhnak <andyuhnak@gmail.com>
This commit is contained in:
@@ -1873,6 +1873,10 @@ static NSString *contactsBookInfoFile = @"contactsV2";
|
||||
if (error == nil)
|
||||
{
|
||||
[cipher writeToFile:[self dataFilePathForComponent:fileName] atomically:YES];
|
||||
[[NSFileManager defaultManager] excludeItemFromBackupAt:[NSURL fileURLWithPath:fileName] error:&error];
|
||||
if (error) {
|
||||
MXLogDebug(@"[MXKContactManager] Cannot exclude item from backup %@", error.localizedDescription);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user