I have an app which I need to add different flavors, and each flavor must have the google-services.json file from firebase. It means that now I manually register a new application, download the json file and put it in the flavor project (folder).
Is there any API for registering the flavor app (different package name) manually, downloading it, and put it in the correct folder, during the gradle build process, by using gradle tasks?
google-services.json
file which contains details for multiple "apps"....another option I've used is to createFirebaseApp
instance dynamically. – John O'Reilly