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:
Link to tutorial
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.
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.
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).
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.
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.
I figured I copied it into the right folder. Here's the tutorial I found which helped me:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With