How to integrate two or more google-services.json file together for different google FCM service in same project

Viewed 1301

I am making a project where I want to integrate different FCM google-service.json,how to integrate in same file different project key I tried 2 projects this like but not working we need to add in our project.

    {
          "project_info": {
            "project_number": "60554696754247",
            "firebase_url": "https://project-1fca7.firebaseio.com",
            "project_id": "project-1fca7",
            "storage_bucket": "project-1fca7.appspot.com"
          },
          "client": [
            {
              "client_info": {
                "mobilesdk_app_id": "xxxxxxxxxxxxx",
                "android_client_info": {
                  "package_name": "com.company.project1"
                }
              },
              "oauth_client": [
                {
                  "client_id": "xxxxxxxxxxxxxxxx",
                  "client_type": 3
                }
              ],
              "api_key": [
                {
                  "current_key": ""
                }
              ],
              "services": {
                "analytics_service": {
                  "status": 1
                },
                "appinvite_service": {
                  "status": 1,
                  "other_platform_oauth_client": []
                },
                "ads_service": {
                  "status": 2
                }
              }
            }
          ],
          "project_info": {
            "project_number": "13052496681",
            "firebase_url": "https://project-2ebf8.firebaseio.com",
            "project_id": "project-2ebf8",
            "storage_bucket": "project-2ebf8.appspot.com"
          },
          "client": [
            {
              "client_info": {
                "mobilesdk_app_id": "xxxxxxxxxxxxxxx",
                "android_client_info": {
                  "package_name": "com.company.project2"
                }
              },
              "oauth_client": [
                {
                  "client_id": "xxxxxxxxxxxxxx",
                  "client_type": 3
                }
              ],
              "api_key": [
                {
                  "current_key": "xxxxxxxxxxxxxxxx"
                }
              ],
              "services": {
                "analytics_service": {
                  "status": 1
                },
                "appinvite_service": {
                  "status": 1,
                  "other_platform_oauth_client": []
                },
                "ads_service": {
                  "status": 2
                }
              }
            }
          ],

          "configuration_version": "1"
        }
1 Answers
Related