Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Update GooglePlus.m
Browse files Browse the repository at this point in the history
Fix return of givenName and familyName.
  • Loading branch information
TiagoSAmaral committed Jan 10, 2017
1 parent 766570a commit 4210403
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ios/GooglePlus.m
Expand Up @@ -202,7 +202,9 @@ - (void)signIn:(GIDSignIn *)signIn didSignInForUser:(GIDGoogleUser *)user withEr
@"accessToken" : accessToken,
@"refreshToken" : refreshToken,
@"userId" : userId,
@"displayName" : user.profile.name ? : [NSNull null],
@"displayName" : user.profile.name ? : [NSNull null],
@"givenName" : user.profile.givenName ? : [NSNull null],
@"familyName" : user.profile.familyName ? : [NSNull null],
@"imageUrl" : imageUrl ? imageUrl.absoluteString : [NSNull null],
};

Expand Down

0 comments on commit 4210403

Please sign in to comment.