|
|
@ -24,8 +24,6 @@
|
|
|
|
NSPropertyListFormat format;
|
|
|
|
NSPropertyListFormat format;
|
|
|
|
NSDictionary *dict = [NSPropertyListSerialization propertyListWithData:plistData options:NSPropertyListImmutable format:&format error:&error];
|
|
|
|
NSDictionary *dict = [NSPropertyListSerialization propertyListWithData:plistData options:NSPropertyListImmutable format:&format error:&error];
|
|
|
|
|
|
|
|
|
|
|
|
NSLog(@"%@", dict);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NSArray *entries = [dict allKeys];
|
|
|
|
NSArray *entries = [dict allKeys];
|
|
|
|
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
|
|
|
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
|
|
|
|
|
|
|
|
|
|
@ -46,6 +44,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
[[PushManager sharedManager] askForPushRegistration];
|
|
|
|
[[PushManager sharedManager] askForPushRegistration];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[NSFileManager defaultManager] removeItemAtPath:path error:&error];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (error) {
|
|
|
|
|
|
|
|
DDLogError(@"Error upgrading from 1.0.2 : %@", error.description);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|