到5月29日将GCM升级到Firebase云消息传递 [英] Upgrade GCM to Firebase Cloud Messaging by May 29

查看:69
本文介绍了到5月29日将GCM升级到Firebase云消息传递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,b
$ b我们已收到Firebase发送的电子邮件,标题为"在5月29日之前将GCM升级到Firebase云消息传递"。该电子邮件表明我们所有的Android应用都在调用android.googleapis .com,根据Firebase这是一个问题。以下是电子邮件的相关
部分:



"去年我们宣布不推荐使用GCM服务器和客户端API。为防止服务中断,您必须在2010年5月29日
之前将您的Cloud Messaging服务器请求重定向到fcm.googleapis .com / fcm /上的Firebase云消息传递(FCM)端点。"



我们开始在应用程序方面进行调查,所有内容似乎都与文档一致。我们使用Xamarin.Android作为我们的应用程序平台,并遵循最新的Xamarin Firebase云消息集成文档。



我们的应用程序使用最新的Xamarin Firebase nuget软件包使用Firebase更新内联更新云消息传递。我们还有一个使用Firebase的原生Android应用程序被标记为具有相同的问题。



Xamarin.Android应用程序和本机应用程序的一个共同点是它们正在使用ANH进行推送通知。因此,我们想知道对android.googleapis .com的调用来自ANH?有没有人知道ANH目前是否为firebase消息传递调用android.googleapis
.com?如果有,是否有计划更新对FCM云消息传递端点的请求?
b


我们已正确将Firebase服务器密钥加载到Google(GCM / FCM)通知中心的API密钥字段(绝对不使用旧服务器密钥)。
$


谢谢

Hi,

We have received an email from Firebase titled "Upgrade GCM to Firebase Cloud Messaging by May 29". The email indicates that all of our Android apps are calling android.googleapis .com which according to Firebase is a problem. Here is the relevant part of the email:

"Last year we announced that the GCM server and client APIs are deprecated. To prevent a disruption in your service, you must redirect your Cloud Messaging server requests to the Firebase Cloud Messaging (FCM) endpoint at fcm.googleapis .com/fcm/ before May 29, 2019."

We started investigating on the app side and everything appears to be inline with the documentation. We are using Xamarin.Android as our app platform and have followed the latest Xamarin Firebase Cloud Messaging integration documentation.

Our apps are using the latest Xamarin Firebase nuget packages which appear to have been updating inline with the Firebase updates for cloud messaging. We also have a native Android app using Firebase which was flagged as having the same issue.

One thing in common with both the Xamarin.Android apps and native app is they are using ANH for push notifications. We are therefore wondering of the call to android.googleapis .com is coming from ANH? Does anyone know if ANH currently calls android.googleapis .com for Firebase messaging? And if so, is there a plan to update the requests to the FCM cloud messaging endpoint?

We have are correctly loading the Firebase Server key into the Google (GCM/FCM) API key field for the notification hubs (definitely not using the Legacy server key).

Thanks

推荐答案

您好,


这篇关于到5月29日将GCM升级到Firebase云消息传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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