Android C2DM 中的 TOO_MANY_REGISTRATIONS 错误代码
在 Android C2DM 文档中,有一个名为“TOO_MANY_REGISTRATIONS”的错误,他们将其描述如下:
用户注册了太多应用程序。应用程序应该告诉用户卸载一些其他应用程序,让用户手动重试。修复设备端。
这到底是什么意思?是不是意味着同一部手机上运行着很多使用C2DM的App。如果是的话,是否有任何已知的应用程序数量估计。
谢谢
In Android C2DM documentation there's an error called "TOO_MANY_REGISTRATIONS" which they describe it as the following :
The user has too many applications registered. The application should tell the user to uninstall some other applications, let user retry manually. Fix on the device side.
What it really means?, does it mean that there's a lot of Apps that use's C2DM are running on the same phone. if so is there any known estimate of the number of Apps.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
每个 C2DM 用户最多可以安装 100 个使用 C2DM 的应用程序。这一限制似乎只是谷歌为防止滥用而制定的任意保护措施。
请参阅此处了解更多信息:http://groups.google.com/group/ android-c2dm/browse_thread/thread/3f5ee56670a8254d
Each C2DM user can have at most 100 installed apps that use C2DM. This limit appears to just be an arbitrary safeguard that Google enacted to prevent abuse.
See here for more: http://groups.google.com/group/android-c2dm/browse_thread/thread/3f5ee56670a8254d
根据 GCM 文档,当您的设备有 100 个不同的应用程序注册到 Google 服务器时,您会收到错误 TOO_MANY_REGISTRATIONS。因此,您的应用程序应该准备好处理注册错误 TOO_MANY_REGISTRATIONS。此错误表明设备有太多向 GCM 注册的应用程序。
According to GCM document you get error TOO_MANY_REGISTRATIONS when your device have 100 different application that is register with google server. So you app should be prepared to handle the registration error TOO_MANY_REGISTRATIONS. This error indicates that the device has too many apps registered with GCM.