Android 和 iOS Firebase 数据库数据合并

标签 android ios firebase firebase-realtime-database

我有一个使用 Firebase 数据库的 Android 应用,并计划构建它的 iOS 对应部分。我可以使用与 Android 应用程序相同的 Firebase 数据库吗?如果没有,有没有办法合并Android Firebase数据库和iOS Firebase数据库中的数据?

最佳答案

Can i use the same firebase database of my android app?

是的,你可以。您需要转到 Firebase 控制台,选择您的项目,添加应用程序并选择 iOS。提供包名称的所有必要详细信息。下载最新的 JSON 文件并将其添加到您的项目中。

if not is there a way to merge the datas in the android firebase database and iOS firebase database?

不存在两个数据库,一个 Android 数据库和一个 iOS 数据库。 Android 和 iOS 应用程序可以访问一个数据库。

关于Android 和 iOS Firebase 数据库数据合并,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53689706/

相关文章:

ios - 更改 iPhone 的日期和时间

ios - 捕获并记录 UIView 上的触摸事件

iphone - 在iOS 6,iPhone中处理方向?

firebase - Flutter中Firestore的数据源可以手动设置为只来自Cache吗?

firebase - Flutter错误Firebase用户重新验证凭据

android - 移动编辑文本以及软键盘android

android - 通过在 Android 中获取图像的 ID,在图库 View 中设置图像

java - Android 检测到 instanceof EditText 和 instanceof TextView 相同

Java将字节数组转换为UTF-8字符串

firebase - 按下按钮时如何显示与 FutureBuilder 的对话框?