swift - Not able to retrieve gender in google plus ios sdk -


i used gtlqueryplus.queryforpeoplegetwithuserid("me") retrieving logged in user information. not getting gender in json. when set gender visibility 'public' instead of 'my circles' google plus profile, got gender.

how gender info without changing settings googe plus profile settings?

scopes used: signin.scopes = [kgtlauthscopeplusme, kgtlauthscopeplususerinfoprofile, kgtlauthscopepluslogin];

you can access user has set public. if user doesn't want information public cant have information.

just because authenticate application doesn't mean want example see address or in case gender. don't set them public cant see them.


Comments