I am trying to add Firebase to an existing Android app, but I'm having trouble deciding what parts of the provided google-services.json file I should import into my app. I can't override it because the json file Firebase spits out doesn't have all the info I need. Does anyone know what exactly I need to add? Thanks in advance!
Edit to add some sample code:
This is what firebase gives me:
{
"project_info": {
"project_number": "a project project number",
"firebase_url": "https://my-project.firebaseio.com",
"project_id": "a project id",
"storage_bucket": "my-project.appspot.com"
},
"client": [{
"client_info": {
"mobilesdk_app_id": "an id",
"android_client_info": { "package_name": "my-package-name" }
},
"oauth_client": [ ... ],
"api_key": [{ "current_key": "a key" }],
"services": { ... }
}],
"configuration_version": "1"
}
And this is what I have on my project:
{
"project_info": {
"project_id": "a different project id",
"project_number": "a different project number"
},
"client": [{
"client_info": {
"mobilesdk_app_id": "a different id",
"client_id": "android:my-package-name",
"client_type": 1,
"android_client_info": { "package_name": "my-package-name" }
},
"oauth_client": [ ... ],
"api_key": [],
"services": { ... }
}
],
"client_info": [],
"ARTIFACT_VERSION": "1"
}