You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/10/23 20:45:48 UTC
ios commit: Added deprecation notice to BackupWebStorage
Cordova.plist property
Updated Branches:
refs/heads/master 1dca15cfe -> 977513ecd
Added deprecation notice to BackupWebStorage Cordova.plist property
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/977513ec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/977513ec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/977513ec
Branch: refs/heads/master
Commit: 977513ecdf8f07520892c94b5f9ed8a8f65d2531
Parents: 1dca15c
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Oct 23 11:45:39 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Oct 23 11:45:39 2012 -0700
----------------------------------------------------------------------
CordovaLib/Classes/CDVViewController.m | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/977513ec/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index 35e3d98..3e31fd9 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -181,6 +181,7 @@
if ([backupWebStorage isKindOfClass:[NSString class]]) {
backupWebStorageType = backupWebStorage;
} else if ([backupWebStorage isKindOfClass:[NSNumber class]]) {
+ NSLog(@"Deprecated: BackupWebStorage boolean property is a string property now (none, local, cloud). A boolean value of 'true' will be mapped to 'cloud'. Consult the docs: http://docs.cordova.io/en/edge/guide_project-settings_ios_index.md.html#Project%%20Settings%%20for%%20iOS");
backupWebStorageType = [(NSNumber*) backupWebStorage boolValue] ? @"cloud" : @"none";
}