适用于iOS和Android应用程序的相同Firebase实例 [英] Same Firebase Instance for iOS and Android app

查看:111
本文介绍了适用于iOS和Android应用程序的相同Firebase实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是android的新手,但是我已经为iOS应用程序设置了Firebase后端.现在,我开始编写应该访问相同Firebase后端的Android版本的代码.

I am new to android, but I have finished setting up a Firebase backend for an iOS application. Now I am starting to code the Android version which should access the same Firebase backend.

我的问题是...我需要为Android后端创建一个新的Firebase实例吗?我希望使用为iOS应用程序创建的相同Firebase实例吗?

My question is this... do I need to create a new Firebase instance for the Android backend!? I was hopeful to use the same Firebase instance that I have created for the iOS application?

推荐答案

如果您正在构建该应用的android版本,则使用相同的firebase项目,但是当您在控制台中时,点击概述->'添加另一个应用"->单击"Android"

If you are building an android version of the app you use the same firebase project however when you are in the console you click Overview -> 'Add Another App' -> Click 'Android'

按照android设置进行操作,一切都很好.

Follow the android setup and you are all good.

这篇关于适用于iOS和Android应用程序的相同Firebase实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆