- Add Social Login

- Fix Vari
This commit is contained in:
giuseppenuc committed 2016-03-17 12:30:53 +01:00
1 parent 22499a85d3
commit b0bcfad332
19 files changed
+899 -742

No files matched your search

+7 -1
View File
@@ -135,13 +135,19 @@
//if ([user isAuthenticated]) {
[User loginCurrentUserWithEmail:@"demo@packman.example" password:@"demo@packman.example" withBlockSuccess:^(PNUser * _Nullable responseObject) {
/*[User loginCurrentUserWithEmail:@"demo@packman.example" password:@"demo@packman.example" withBlockSuccess:^(PNUser * _Nullable responseObject) {
NSLog(@"response : %@",responseObject);
NSLog(@"%@",[User currentUser]);
} failure:^(NSError * _Nonnull error) {
NSLog(@"response : %@",error);
}];*/
[User socialLoginWithBlockSuccess:^(PNUser * _Nullable responseObject) {
} failure:^(NSError * _Nonnull error) {
}];