2

我有一个 android 应用程序,我们在其中同时使用 buildType 和 productFlavors。目前我们有 3 种 buildType(QA、RC 和 Production)和 15 种不同的 productFlavor(com.companyname.employee.general、com.companyname.employee.domain1、com.companyname.employee.domain2.. 等)。我们根据具有唯一应用程序 ID(generalQa、generalRc、generalProduction、domain1Qa、domain1RC 等)的不同风格来分离不同的应用程序。

但是现在我们还没有在 firebase 上分离任何东西,并且在一个 singleProject 中接收每个 buildType 和 flavor 的所有数据(已经为不同的 Application ID 注册了不同的应用程序。主要是我们使用 firebase 进行分析和崩溃分析)。但是现在我们将使用 firestore,为此我想在我的 buildType 上将它分离出来,它可以支持所有的 buildFlavour。

谁能建议在android中执行此操作的最佳方法以及如何在android文件系统中构造它?

4

0 回答 0