Skip to main content

Setup

Configure to use Google account.

Google User OAuth Client ID Registration (Android)

  • Navigate to Google Cloud Platform > Credentials > Create Credentials > OAuth Client ID.
  • Select the application type as Web application, enter the required information, and complete the process.
  • Verify the Client ID information of the added OAuth Client ID.

Google User OAuth Client ID Registration (iOS)

  • Navigate to Google Cloud Platform > Credentials > Create Credentials > OAuth Client ID.
  • Select the application type as iOS, enter the required information, and complete the process.
  • Select the added OAuth Client ID and download the PLIST information.
  • Rename the downloaded PLIST file to GoogleService-Info.plist.

Google Games SDK Registration

  • Download the Google Games Unity Package.
  • Import the Google Games Unity Package into your project.
  • Google Games is mandatory for iOS and optional for Android.

Download Google Games Unity Package

Google Authentication SDK Registration

  • Download the Google Authentication Unity Package.
  • Import the Google Authentication Unity Package into your project.
  • Remove some files during the Google Authentication Unity Package import to prevent conflicts and errors.

Download Google Authentication Unity Package

xCode Setup (iOS)

  • Run the xCode project as a CocoaPods project.
  • Add the GoogleService-Info.plist downloaded from Google Cloud Platform to your project.

  • Modify the version information of GoogleSignIn in CocoaPods. Some versions may conflict with the Google Authentication SDK.
  • After changing the pod information, run pod install to complete the installation of the service.

  • Register the iOS URL scheme information from Google Cloud Platform in the URL Schemes of URLType.
  • The URL Schemes information is the REVERSED_CLIENT_ID value from the GameService-Info.plist.