[英]FirebaseInstanceIdService.onTokenRefresh never called
I have implemented Firebase for cloud messaging :我已经实现了用于云消息传递的 Firebase:
https://firebase.google.com/docs/cloud-messaging/android/client#sample-register https://firebase.google.com/docs/cloud-messaging/android/client#sample-register
I have follow all the steps but FirebaseInstanceIdService.onTokenRefresh is never called.我已按照所有步骤操作,但从未调用 FirebaseInstanceIdService.onTokenRefresh。
the only message from firebase on the log is :日志中来自 firebase 的唯一消息是:
FirebaseInitProvider: FirebaseApp initialization unsuccessful
What can i do to get this token?我该怎么做才能得到这个令牌?
在我的情况下卸载并重新安装应用程序工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.