1
我们必须提供访问多个火力地堡数据库的“远程配置”,访问第二个项目
// Retrieve my other app.
FirebaseApp app = FirebaseApp.getInstance("secondary");
// Get the database for the other app.
FirebaseDatabase secondaryDatabase = FirebaseDatabase.getInstance(app);
在同样的方式,有没有什么办法来访问我的第二个项目远程配置?
编号: Accessing the Databases from two different Firebase projects
提前感谢!
我花了几个小时试图了解为什么远程配置只使用默认的本地值,并没有真正获取任何东西。拯救生命的答案。谢谢。 –