Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google-services.json location in the project tree

Tags:

I am following this manual and I am unsure where I should exactly copy the file google-services.json? There's many folders containing an app folder and I am trying to develop this for android wear. Any guide would be really great. So far I have put it here: enter image description here

Link to tutorial

like image 223
Mona Jalal Avatar asked Jul 02 '15 19:07

Mona Jalal


People also ask

Where is Google-services json in flutter?

The root of your Flutter app is up at the top, but the root of the Android app is in the android folder (the folder with firetest_android). That's the folder where you want to put the google-services. json file.

How can I add two Google-services json in the same project?

There is no way to use two google-services. json files in a single Android app. The file name is the same between them and they need to be in the same location. So one will overwrite the other in that case.

Should I add Google-services json to Git?

The general answer is yes, the google-services. json is safe to check in to your repo and is something that should be shared among engineers on your team. The JSON file does not contain any super-sensitive information (like a server API key).

What is service json?

JSON Web Services let you access portal service methods by exposing them as a JSON HTTP API. Service methods are made easily accessible using HTTP requests, both from JavaScript within the portal and from any JSON-speaking client.


2 Answers

Was configuring Firebase for android app and it gives good description on these. As the accepted answer says it should goes in app folder. Adding images for better understanding of place to put it in and configuration needed.

enter image description here

enter image description here

like image 183
Aniket Thakur Avatar answered Sep 27 '22 17:09

Aniket Thakur


I figured I copied it into the right folder. Here's the tutorial I found which helped me: enter image description hereenter image description here

like image 21
Mona Jalal Avatar answered Sep 27 '22 16:09

Mona Jalal