在Android的GCM限制collapse_key数 [英] Limit collapse_key count in android GCM
问题描述
计算器,我需要你的帮助!我读过这里GCM文件 http://developer.android.com/google/gcm/ adv.html 并没有完全明白的意思是GCM只允许在任何给定的时间将使用的每个器件的GCM服务器最多4个不同的崩溃键。我要为自己这来解释。我可以假设,如果我的手机上施氮安装(Facebook,Twitter的,instagramm,myMail,Facebook等),也不能保证,当我的设备,例如将在网上回,GCM会选择我的应用程序的collapse_key。我说得对还是没有?如果我在这座坍塌的关键是什么意义,如果不能保证它会工作,我的应用程序将获得在正确的时间必要的通知?我需要点那个模式同步到负荷是很preferrable对我来说,我想使用它,但我担心的问题开始的时候用户会写在注释中我的设备恢复联机,但我错过了所有的信息:((
StackOverflow, i need your help! I've read gcm documentation here http://developer.android.com/google/gcm/adv.html and don't understand fully what means "GCM only allows a maximum of 4 different collapse keys to be used by the GCM server per device at any given time". I want to explain for myself it. I can assume that if on my phone N applications are installed (facebook, twitter, instagramm, myMail, facebook and other), there is no guarantee that when my device for example will return to online, GCM will choose collapse_key of my app. Am i right or no?? If I am right in what sense of this collapse key if there is no guarantee that it will work and that my app will receive at the right time the necessary notification? I need to point that pattern "Sync-to-load" is very preferrable for me and i want to use it, but I am afraid that problems will begin when user will be write in comments "My device come back online, but i missed all messages:(("
推荐答案
在GCM collapse_keys的限制是在每个应用水平,不会受什么其他应用程序的用户已经安装在他们的手机
The limit on GCM collapse_keys is on a per app level and is not affected by what other apps the user has installed on their phone.
这篇关于在Android的GCM限制collapse_key数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!