Google Sign In Unity Package
You can use google play games services to sign in players to an android game built on firebase and unity.
Google sign in unity package. Google play store getting started. Follow instructions for android and ios to get an id token for. Building for android under build settings select android as the target platform. Home products unity top plugins.
Access the firebase auth firebaseauth class. Sign up for the google developers newsletter. Write a game implementing unity iap. Enhance your unity games and apps with google s official unity plugins to reach users monetize and discover new platforms.
Select the keystore file the key alias and passwords. After a user signs in. Register your unity project and configure it to use firebase. Enable admob by clicking enabled checkbox under google admob section.
Resolve the google play services sdk dependencies by. Play games unity plugin. Then enter your android and ios admob app id in each field. Use the package to get user data or user idtoken that is used with firebase sdk for google login.
Google sign in implementation for android builds. Get the google login ios android package from locomotion and speed up your game development process. Build a signed non development build android apk from your game. Sign in with your google account enter your email.
Keep the game s product identifiers on hand for google play developer console use later. Set the package name in the player settings to the package name you found in the configuration file. See unity iap initialization and integrating unity iap with your game. In the unity editor select assets google mobile ads settings from the menu.
To use google play games services sign in with firebase first sign in the player with google play games and request an oauth 2 0 auth code when you do so. Find this other integration options on the unity asset store. If your app uses ad manager instead of admob enable google ad manager by clicking enabled checkbox under google ad manager section. Authenticate using google sign in and unity before you begin.
Create your free github account today to subscribe to this repository for new releases and build software alongside 40 million developers.