Hey Filip,Following https://developer.chrome.com/apps/cloudMessaging#enable_the_gcm_service, you are using permission for the chrome.pushMessaging API, while you really want Google Cloud Messaging for Android
Thanks for the message.
1.I restarted chrome and when I loaded the extension only once, it does not show the previous error. However, after running chrome.gcm.register the registerCallback method does not seem get called. My network connection is working.
2. In the Google API's console I have enabled Google Cloud Messaging for Chrome. Is there anything else that needs to be done here?
3. I checked that the "registered" key is not stored in chrome.
4. The manifest is version 2 and has 'gcm' in the permissions.
Hi Filip,1. I am still not getting chrome.gcm.register("project_num", callbackMethod) to call the callback function after enabling 'GCM for Android'.
2. It is a bit confusing why we need to use 'GCM for Android' when there is a 'GCM for Chrome'. Is GCM for Android also used for Desktop Chrome instances?
3. Can I use the push_messaging API (since I'm able to get the Channel ID) or will that be deprecated?
--
You received this message because you are subscribed to a topic in the Google Groups "GCM for Chrome feedback" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gcm-for-chrome-feedback/upfZVv3mcjk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gcm-for-chrome-fe...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Keven--Keven
--
You received this message because you are subscribed to a topic in the Google Groups "GCM for Chrome feedback" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gcm-for-chrome-feedback/upfZVv3mcjk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gcm-for-chrome-fe...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Keven,
Did you get it working?
Also, how do you clear the GCM store programmatically if a user has this issue or uninitialized state as I saw in my case.
If a user is not signed in can GCM be made to work?
Thanks,
Deepak
--
--
You received this message because you are subscribed to a topic in the Google Groups "GCM for Chrome feedback" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gcm-for-chrome-feedback/upfZVv3mcjk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gcm-for-chrome-fe...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to gcm-for-chrome-feedback+unsub...@googlegroups.com.
--Keven