FireBaseInstanceId服务未注册 [英] FireBaseInstanceId service does not get registered

查看:73
本文介绍了FireBaseInstanceId服务未注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此处中,我正在尝试运行演示.问题是,每当应用尝试注册instanceId时,都会说后台同步失败:MISSING_INSTANCEID_SERVICE,请在320秒内重试",然后在我打印令牌时,它说令牌为空.我尝试更改INSTANCE_ID_EVENT而不是以前在stackoverflow上要求的INSTANCEID_EVENT和其他解决方案,但是它们都不适合我.

I am trying to run demo given here. The problem is whenever app tries to register instanceId, it say "background sync failed: MISSING_INSTANCEID_SERVICE, retry in 320s" and then when I print token, it says token is null. I tried changing INSTANCE_ID_EVENTinstead of INSTANCEID_EVENT and other solution that were previously asked on stackoverflow, but none of them works for me.

推荐答案

如果没有Google Play服务,Firebase将无法运行,因此请检查它们是否可用.

Firebase won't run without Google Play Services, so check if they are available.

这篇关于FireBaseInstanceId服务未注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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