How to support multiple google-service.json in Android Studio

I used Google Analytics , which had a google-services.json file. But now I have added Firebase (not an analytic service) which still has google-services.json .

I checked both JSON files, client is a JSON array, so I can add an element to the old google-services.json , but both files have a project_info JSON object that is different.

How can I combine these files into one file? Or can you specify two files differently for two google services?

+5
source share

Source: https://habr.com/ru/post/1260258/


All Articles