

Integrate Play Games sign-in into your game To be able to sign in to your game before you release it on the On the Testers page, add the email addresses of any users who need The resources snippet looks like the following example: You will need the snippet to set up the Google Play Games services
#Open licence unity symbol android
Get resources and copy the Android resources snippet somewhereĬonvenient. Then, onĪny of the Events, Achievements, or Leaderboards pages, click Want to use any immediately, you can create a placeholder entry). Play Games resources you want to use with your game (if you don't On the Events, Achievements, and Leaderboards pages, create any SHA-1 fingerprint in the Firebase console.) (If you don't see your Android client ID, be sure you set your game's
#Open licence unity symbol apk
Your APK must be signed with this key, including during development.Įnable Google Play Games as a sign-in provider: alias YOUR-KEY-NAME -keystore PATH-TO-KEYSTOREĪlternatively, you can get the SHA hash of your signing certificate with the You can get the SHA-1 fingerprint of your key with the keytool command: Of the Firebase console, using the key you set in Unity. Set your game's SHA-1 fingerprint from the In which you registered your Unity project. In the Firebase console, go to the Firebase project Requirement applies not just for publishing, but also during development of Your APK must be signed for Play Games sign-in to work-this Select or create a keystore and key, which will be used to sign your Android

Then, under Build Settings > Player Settings > Publishing Settings,

Settings set the Android package name of your game. In the Unity Editor, under Build Settings > Player Settings > Other Before you begin Set up your Unity projectĪdd the Firebase config file and the Firebase Unity SDK to your Unity projectīe sure to import FirebaseAuth.unitypackage. Important: You can use Google Play Games services sign-in only on Android. PlayGamesAuthProvider to generate a Firebase credential, which you can use toĪuthenticate with Firebase. To use Google Play Games services sign-in withįirebase, first sign in the player with Google Play Games, and request an You can use Google Play Games services to sign in players to an Android gameīuilt on Firebase and Unity.
