-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get empty ChannelId using Push Messaging #106
Comments
Yes, you do have to be signed into the browser for this to work, and I have definitely seen the GetChannelId work when signed into chromium, it On Wed, May 29, 2013 at 10:12 AM, John05 notifications@github.com wrote:
|
Well, the line of code that makes the call to get the Channel is chrome.pushMessaging.getChannelId(true, getChannelIdCallback), when I call this function I suppose that the API makes the process to review if the user is logged in the browser, if not, then start the process to sign in. If the user is logged, then in the function getChannelIdCallback I get a variable with details that the API returns, in this details comes the ChannelId, I don't have error, only try to print in the console detail.channelId, but I have this field empty, so I can not understand why with my gmail account in Chrome is the only way to get the Channel, because in Chromium no work neither gmail nor sanmina account. By the way, could give me the link when ATWilson refers to the differences between sign in to the company and the browser please? Thank you for your time, I hope you can help me. |
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/cSTjjU3SXgA It sounds like getChannelId is failing for you with both your gmail and I have definitely seen the call succeed in chromium when logged in with a If you are getting back an empty channel ID, there is an underlying HTTP On Wed, May 29, 2013 at 1:20 PM, John05 notifications@github.com wrote:
|
Actually I can get the Channel Id in Chromium with my gmail account, the problem persists with my sanmina account, the problem for Chormium was that for Arch Linux the API keys used in Google Cloud Messaging were not enabled, I contacted to the package mantainer of Chromium in Arch and he enabled that option, the other problem still persists, I don't know exactly what can be the problem or who could help me, if you know where can I start you are welcome, I am going to keep the search. |
closing old issues. |
I have two problems, I am trying to use the sample https://github.com/GoogleChrome/chrome-app-samples/tree/master/push-messaging-roundtrip-sample, in this example is used the function chrome.pushMessaging.getChannelId.
For using this option it is mandatory to sign in to Chrome or Chromium browser, originally I could not sign in with the mail of my company, example@sanmina.com, after an update of Chrome and Chromium the problem was solved.
The problem right now is that if I sign in with my gmail account I can obtain the ChannelId without problems, but if I sign in with my sanmina account I dont get channel, so I imagine the problem is related with the managment of my company in the policies but I am not sure, I hope somebody could have a more clear idea, thanks in advance.
Like additional information, in Chromium I can not get the ChannelId even with my gmail account, I am using archlinux.
The text was updated successfully, but these errors were encountered: