Google-signin: getting Birthday Information

Created on 30 Apr 2017  路  8Comments  路  Source: react-native-google-signin/google-signin

Ive added the birthday scope, but how can I get this info? the user object doesnt has it

馃敠 Help Wanted 鉁‵eature Request

Most helpful comment

Any updates for how to retrieve birthday information?

All 8 comments

Same problem here, I'm trying to get birthday information but it isnt in user information , anyone can help?

Any updates/workarounds on this?

We currently support the following fields:

givenName
familyName
id
photo
email
idToken
accessToken
serverAuthCode
accessTokenExpirationDate

In the future we might add support for additional fields but no such thing is in the plans for now as we are just trying to get this library on shape and fix bugs as we go.

@jozan any way we can retrieve birthday information ?
i know you said this is out of scope currently but it would be so much helpful if you can guide us how we can do this ?

btw i added external scope and i have given permission for but no extra information is returned

    GoogleSignin.configure({
      scopes: ["https://www.googleapis.com/auth/plus.login"],
      webClientId: Config.GOOGLE_SIGN_IN_WEBCLIENT_ID,
      offlineAccess: false
    });

Can this be revisited as it has been almost a year? Happy to help if some guidance is given

@Salinn Is birthday information not available with the latest RN version ?

Any updates for how to retrieve birthday information?

Was this page helpful?
0 / 5 - 0 ratings