哪些Firebase服务需要Android上的Google Play服务? [英] Which firebase services require google play services on Android?

查看:361
本文介绍了哪些Firebase服务需要Android上的Google Play服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个项目中,我们有一个无法安装Google Play服务的Android平板电脑. firebase的哪些功能/服务依赖于要运行的Google Play服务?

I'm working on a project where we have an Android tablet that cannot have google play services installed on it. Which features/services of firebase have a dependency on google play services to run?

特别是我正在查看实时数据库,身份验证,firestore和firebase云消息传递.

Specifically I'm looking at real-time database, authentication, firestore, and firebase cloud messaging.

我与一位开发者倡导者交谈,他说实时数据库不具有这种依赖性,但是我找不到任何表明这种依赖性的官方文档.

I spoke with a developer advocate that said that real-time database doesn't have that dependency, but I couldn't find any official documentation that states that.

推荐答案

firebaser此处

Firebase作为平台需要Google Play服务,即使某些Firebase产品在没有它的情况下也可以运行.

Firebase as a platform requires Google Play Services, even though some Firebase products may be able to work without it.

您提到的Firebase产品中:目前,身份验证需要Play服务,而Cloud Messaging iirc也是.我希望Firestore也可能需要它.正如我们的一位DA所说:RTDB不需要播放服务.

Of the Firebase products you mention: Authentication at the moment requires Play Services, as does Cloud Messaging iirc. I expect that Firestore also might require it. And as one of our DAs correctly said: RTDB doesn't require Play Services.

尽管有些产品可以在没有Play服务的设备上运行,而有些则不能,但是不能保证这不会因单个产品而改变.添加依赖关系本身并不是一个目标.它仅取决于产品是否从使用Play Services的某些功能中受益.这就是为什么您在Firebase文档中找不到它的原因.

While some products may work on devices without Play Services and some won't, there is no guarantee that this won't change for individual products. It's never a goal in itself to add the dependency. It merely depends on whether the product benefits from using Play Services for some of its functionality. This is why you won't find it in the Firebase documentation.

这篇关于哪些Firebase服务需要Android上的Google Play服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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