2011-05-12 36 views
2

由于5/2011的C2DM谷歌的documentation这样说:C2DM限制?

“谷歌限制了发送方发送到特定设备发送者合计发送的消息数和消息的数量”

什么具体的限制是什么?如果我的服务器每天向10个设备发送10条消息,Google会关闭我的应用程序?

回答

1

具体限制是根据每个账户得出的,并且可以根据(合理的)请求进行修改。例如,我有c2dm帐户,每天“限制”到“仅”100,000 c2dm邮件。

+0

获取受限帐户的过程如何?它的任何成本? – schwiz 2011-08-02 00:09:23

2

当您使用signup C2DM here时,系统会要求您填写估计的“每天的估计消息总数”和“估计的每秒峰值查询(QPS)”。 根据C2DM quotas page,当前默认限制约为每天200,000消息

如果您的要求超出此限制,您应该确保正确使用C2DM,并在quotas page的底部链接提交请求配额。

0

如果您担心邮件数量限制,您应该切换到GCM。

There is only a limit of messages saved before collapsing, which is 100

C2DM已弃用,已换成Google Cloud Messaging for Android (GCM)。 谷歌的声明:

Important: C2DM has been officially deprecated as of June 26, 2012. 
This means that C2DM has stopped accepting new users and quota requests. 
No new features will be added to C2DM. However, apps using C2DM will continue to work. 
Existing C2DM developers are encouraged to migrate to the new version of C2DM, 
called Google Cloud Messaging for Android (GCM). 
See the C2DM-to-GCM Migration document for more information. 
Developers must use GCM for new development. 

有一个demo app tutorial for GCM,也为migration从C2DM。