- Upgrade libraries

- Disable NSLog
This commit is contained in:
giuseppenuc committed 2017-01-26 19:28:07 +01:00
1 parent 1ce4f9bc2d
commit dad497ee5f
65 files changed
+337 -139

No files matched your search

+9 -9
View File
@@ -138,9 +138,9 @@
[installation saveLocally];
NSLog(@"%@",installation);
NSLogDebug(@"%@",installation);
NSLog(@"%@",[installation JSONFormObject]);
NSLogDebug(@"%@",[installation JSONFormObject]);
//[installation setUser:nil];
@@ -170,9 +170,9 @@
[[PNInstallation currentInstallation] registerDeviceWithBlockProgress:^(NSProgress * _Nonnull uploadProgress) {
} Success:^(BOOL response) {
NSLog(@"device registrato");
NSLogDebug(@"device registrato");
} failure:^(NSError * _Nonnull error) {
NSLog(@"device non registrato");
NSLogDebug(@"device non registrato");
}];
});
}
@@ -182,26 +182,26 @@
[[PNInstallation currentInstallation] updateDeviceWithBlockProgress:^(NSProgress * _Nonnull uploadProgress) {
} Success:^(BOOL response) {
NSLog(@"device aggiornato");
NSLogDebug(@"device aggiornato");
} failure:^(NSError * _Nonnull error) {
NSLog(@"device non aggiornato");
NSLogDebug(@"device non aggiornato");
}];
});
}
- (void) application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings {
NSLog(@"%@",notificationSettings);
NSLogDebug(@"%@",notificationSettings);
}
- (void) application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
NSLog(@"%@",userInfo);
NSLogDebug(@"%@",userInfo);
}
- (void) application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
NSLog(@"%@",userInfo);
NSLogDebug(@"%@",userInfo);
}
#pragma mark -
+1 -1
View File
@@ -116,7 +116,7 @@
[user saveLocally];
NSLog(@"%@",[[PNUser currentUser] JSONFormObject]);
NSLogDebug(@"%@",[[PNUser currentUser] JSONFormObject]);
}