Back to All

Google Sign-in for Android not working -- which ID to use?

(edited)

Hi there-

I am trying to get Google Sign-In for Android working. (iOS is working great).

In your documentation, it states that the Android Client ID is actually what's listed by the "Web client (Auto-created for Google Sign-in)":

https://median.co/docs/google-sign-in-configuration#step-c2-set-the-authorized-source-and-redirect-urls.

However, I've tried that and it doesn't seem to work.

Questions:

  1. When creating the Android Google OAuth Credentials, do those need to be made as a completely separate "Credential" from the iOS version? In other words, do I need to make both a Credential for iOS and for Android?

Right now, I have one "Credential" that has:

  1. OAuth 2.0 Client ID - Android
  2. OAuth 2.0 Client ID - iOS
  3. Web client (Auto-created for google sign-in)