0

In the app, there is 2 flavorDimensions and for each pair there is seperate firebase project. Is there any way to set up firebaseAppDistribution for each one of them?

pepela
  • 423
  • 5
  • 17
  • I think this is better solution for your problem https://firebase.google.com/docs/projects/multiprojects – Hanzala Feb 11 '20 at 07:47
  • This does not help as service account json key file has to be refferenced from gradle. – pepela Feb 11 '20 at 08:31
  • why json is being referenced from gradle? – Hanzala Feb 11 '20 at 09:39
  • its how documentation asks https://firebase.google.com/docs/app-distribution/android/distribute-gradle#step_3_configure_your_distribution_properties – pepela Feb 11 '20 at 11:29

1 Answers1

0

In the end I used CI script to replace servcie account key json file for each flavor and it works.

Still don't know how to solve it without replacing json manually or with script.

pepela
  • 423
  • 5
  • 17