HI,
We have an Android project with a growing number of flavors.
My goal is to automate the creation of those flavors as follow:
- Auto update gradle file to add new flavors
- Inject resources, update .xml files for each flavors
- Build with JEnkins or else
- Push new flavor app to customers
I'm close to achieving this goal but it looks like I need to manually create a google-services.json file by hand in the Firebase console for each of my flavors .
Is it possible to have all my flavors use the same google-services.json file? They all have different package name, so it appears it can't do that.
OR
Is it possible to manage those files through an API: Create them, download them
So I could automate this process and inject them in my project at build time.
Any help would be appreciate on managing hundreds of apps at scale.
Thank you
nicolas