Where to put credentials.json in Android Studio

user6327816 picture user6327816 · Jan 23, 2018 · Viewed 9.6k times · Source

I have made a project involving Google Login.

The file downloaded was credentials.json.

Where do I put this?

Since when this has been changed from google-services.json

Note: I am not using Firebase.

Answer

Abdelrhman Walid picture Abdelrhman Walid · Jan 23, 2018

You don't need the credentials.json file to add basic google sign in to your app

follow this url and click the Configure a project button to add the package name and key sha-1 fingerprint and you should be good to go

https://developers.google.com/identity/sign-in/android/start-integrating

check the this google sample project for a full implementation

https://github.com/googlesamples/google-services/tree/master/android/signin