From 7dfd57ecb88d2359ec64826ad2c9e81e77aec0cc Mon Sep 17 00:00:00 2001 From: Edna Morales Date: Tue, 7 Oct 2014 11:07:24 -0400 Subject: [PATCH] CB-7727 add resolution part to 'backup to icloud' warning message --- CordovaLib/Classes/CDVLocalStorage.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CordovaLib/Classes/CDVLocalStorage.m b/CordovaLib/Classes/CDVLocalStorage.m index 5e2f4bbbf4..8aec403bff 100644 --- a/CordovaLib/Classes/CDVLocalStorage.m +++ b/CordovaLib/Classes/CDVLocalStorage.m @@ -344,7 +344,8 @@ + (void)__restoreLegacyDatabaseLocationsWithBackupType:(NSString*)backupType NSLog(@"\n\nStarted backup to iCloud! Please be careful." "\nYour application might be rejected by Apple if you store too much data." "\nFor more information please read \"iOS Data Storage Guidelines\" at:" - "\nhttps://developer.apple.com/icloud/documentation/data-storage/\n\n"); + "\nhttps://developer.apple.com/icloud/documentation/data-storage/" + "\nTo disable web storage backup to iCloud, set the BackupWebStorage preference to \"local\" in the Cordova config.xml file\n\n"); #endif // We would like to restore old backups/caches databases to the new destination (nested in lib folder) [backupInfo addObjectsFromArray:[self createBackupInfoWithTargetDir:appLibraryFolder backupDir:[appDocumentsFolder stringByAppendingPathComponent:@"Backups"] targetDirNests:YES backupDirNests:NO rename:YES]];