Integration of google Auth in your project. Get a configuration file

suggest change

First get the configuration file for Sign-in from the Google Sign-In start page.

Click Get a configuration file.

Download google-services.json and place it in the app/ folder of your project.

  1. Add the classpath inside buildscript { dependencies { } } in the project-level build.gradle:
classpath 'com.google.gms:google-services:3.0.0'
  1. Add the plugin at the bottom of the app-level build.gradle:
apply plugin: 'com.google.gms.google-services'
  1. Add this dependency to the app module:
dependencies { compile 'com.google.android.gms:play-services-auth:9.8.0' }

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents