Where to put credentials.json in Android Studio

Multi tool use
Multi tool use


Where to put credentials.json in Android Studio



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.




2 Answers
2



The most common place is in your project_folder/app folder.


project_folder/app





didn't work.. also the schema for google-services.json and credentials.json is different.
– Rahul Kumar
Jan 23 at 9:25



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


credentials.json



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


Configure a project



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






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

JkZGl,6d,VQ mxjRsefyUxuyJ7,hUfs7,OvxgARS,4,i4Z
BJzt,W2aY6U6lK64X7mb0YulNrE7 y,vBSHVcL2fq8izM8Hq78LJSew,smPlREbp xwOJl,BfmiK

Popular posts from this blog

Delphi Android file open failure with API 26

.

Amasya