Use multiple google-services.json and GoogleService-Info.plist files in the same color
Can two google-services.json files be used in an android project? I know it is possible to use multiple google-services.json files for multiple options, but is it possible to somehow combine two files with different ones project_info
and use them at the same time for a project?
Below is an example of two files that I want to use in one project and one flavor (one for Google Analytics and another for advertising).
The first google-services.json
{
"project_info": {
"project_number": "XXXXXXXXXXXX",
"project_id": "project-one"
},
"client": [
(...)
],
"configuration_version": "1"
}
Second google-services.json
{
"project_info": {
"project_number": "YYYYYYYYYYYY",
"firebase_url": "https://project-two.firebaseio.com",
"project_id": "project-two",
"storage_bucket": "project-two.appspot.com"
},
"client": [
(...)
],
"configuration_version": "1"
}
Also I have the same question regarding files GoogleService-Info.plist
for an iOS project.
source to share
No one has answered this question yet