How to implement the Google login button?
Requirements
Firebase
Before following this tutorial, you must have implemented Firebase in your project. If you have not already done so, please follow this tutorial: https://appzmotion.com/help-center/implementing-firebase/.
SHA-1 Signing Certificate
To get your project SHA-1 key follow these steps: https://appzmotion.com/help-center/getting-sha-1-signing-certificate/.
Steps
Follow the next steps to activate the Google login button in your project:
- Go to this link: https://developers.google.com/identity/sign-in/android/start/ and click Configure a project button.
- Select your existing Firebase project and click NEXT.
- Select Android from dropdown list and click CREATE.
- Paste your app package name and your SHA-1 key and click CREATE.
- Finally, click DONE.