简体   繁体   English

GCM 推送通知延迟?

[英]Push notifications delay with GCM?

do i need to upload my application apk on google play store to speed up gcm push notification?我是否需要在 google Play 商店上传我的应用程序 apk 以加快 gcm 推送通知? I am getting push notification but it delay 30 to 50sec我收到推送通知,但延迟了 30 到 50 秒

No, you don't have to upload it to Google Play to use it.不,您不必将其上传到 Google Play 即可使用。

Consider the ping rate of your local network.考虑本地网络的ping rate Could be some delay in your network.您的网络可能有一些延迟。 Try with other network to compare the result first.先尝试与其他网络比较结果。

无需将其上传到 Google Play 商店检查您的互联网速度或用于发送通知的 Api,通常您用于发送 GCM 通知的 Api 需要时间。

For GCM, Request is sent from your server to google server with the id's you want to send message to.对于 GCM,请求从您的服务器发送到谷歌服务器,并带有您想要发送消息的 ID。 Your Server -> Goole Server -> User So its all network based.你的服务器 -> Goole 服务器 -> 用户 所以它都是基于网络的。 Sit back and wait for it to come :)坐等它来:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM