我正在研究使用Google Cloud Messaging API接收推送通知的Chrome应用/扩展程序。我遵循的教程是this。在“获取GCM注册令牌”部分之前,一切都是清楚的。 下面的代码解释了注册过程的一部分。 function registerCallback(registrationId) {
if (chrome.runtime.lastError) {
// W
我想使用此代码连接到谷歌云消息在镖 senderIds.add("api-project-testid");
chrome.gcm.register(senderIds).then(registerCallback);
但我有此错误: Exception: Uncaught Error: Profile was not signed in. 我认为出现错误从铬没有任何连接的事实。有谁
1000个连接参考https://developers.google.com/cloud-messaging/ccs#connecting 我想为GCM基于XMPP服务器。我无法理解 “对于每个发件人ID,GCM允许并行1000个连接” 这里连接是什么意思? is it the connection which my CCS server will make with GCM server ?