[英]Changing firebase database
我有一个连接到 firebase 数据库的 android 项目,有什么方法可以解除我的项目与当前数据库的链接并将我的应用程序连接到新的 firebase 数据库吗?
If you meant to link your android project to a different firebase project, then of course you can.如果您打算将您的 android 项目链接到不同的firebase 项目,那么当然可以。
At the android side the "connection" is merely a json file stored at yourProject/app/google-services.json
.在 android 端,“连接”只是一个存储在yourProject/app/google-services.json
的 json 文件。
You can simply replace it with another file that you may download from the settings page of your new firebase project.您可以简单地将其替换为可以从新 Firebase 项目的设置页面下载的另一个文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.