服务总线通知中心:什么是推送通知的有效载荷大小限制? [英] Service Bus Notification Hub: What is the payload size limit for the push notification?

查看:126
本文介绍了服务总线通知中心:什么是推送通知的有效载荷大小限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,苹果限制由256字节推送通知的有效载荷,由3KB的Windows Phone限流。

是否Azure的通知枢纽此限制提供了一些解决方法吗?

什么是预期的通知中心的行为,如果一个通知发送到苹果设备及其有效载荷长度超过256字节?

As far as I know Apple limits push notification payload by 256 bytes, Windows Phone limits it by 3KB.
Does Azure Notification Hub provide some workaround for this limitations?
What is expected behavior of the Notification Hub if a notification is sent to an Apple device and its payload is longer then 256 bytes?

推荐答案

我对通知中心功能的项目经理。
通知控制中心不提供任何解决办法的各种平台通知系统的大小限制。

I am a Program Manager on the Notification Hub feature. Notification Hubs do not provide any workaround to the size limitations of the various platform notification systems.

在发送通知到模板的注册,申请的通知太大模板结果时,你会看到它拒绝了PNS和通知中心将在门户仪表盘为有效载荷的错误报告错误。

When sending a notification to template registrations, when applying the template results in a notification that is too large, you will see it rejected by the PNS and the Notification Hub will report the error in the portal dashboard as 'Payload errors'.

当发送本地信息,发送请求会失败,你会得到的状态code请求实体太大。

When sending a native message, the send request will fail and you will get the status code "Request entity too large".

这篇关于服务总线通知中心:什么是推送通知的有效载荷大小限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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