我们可以访问多个 Firebase 数据库,
// Retrieve my other app.
FirebaseApp app = FirebaseApp.getInstance("secondary");
// Get the database for the other app.
FirebaseDatabase secondaryDatabase = FirebaseDatabase.getInstance(app);
同理,有什么方法可以访问我的第二个项目Remote config ??
引用: Accessing the Databases from two different Firebase projects
提前致谢!
最佳答案
不,远程配置没有这样的机制。 Remote Config 与 Firebase Analytics 紧密相关,后者也仅限于每个应用程序一个实例。 Remote Config 使用 Analytics 了解有关用户的一些信息,以确定他们应该为特定参数获得什么值。因此,您必须接受 Remote Config 也将使用默认项目对“用户”的计算。
关于android - 访问第二个项目的 "Remote config",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42225201/