Integration of google Auth in your project. Get a configuration file
suggest changeFirst get the Configuration File for Sign-in from
Open link below
https://developers.google.com/identity/sign-in/android/start-integrating
click on get A configuration file
- Enter App name And package name and click on choose and configure services
- provide SHA1 Enable google SIGNIN and generate configuration files
Download the configuration file and place the file in app/ folder of your project
- Add the dependency to your project-level build.gradle:
classpath ‘com.google.gms:google-services:3.0.0’
- Add the plugin to your app-level build.gradle:(bottom)
apply plugin: ‘com.google.gms.google-services’
- add this dependency to your app gradle file
dependencies { compile ‘com.google.android.gms:play-services-auth:9.8.0’ }
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents