Following this tutorial I am trying to register my chrome browser to the GCM but I can't subscribe the browser:
I am trying to do the same as the following examples without the button. Once you accept the permision request, I want to get the subscription id but it doesn't work:
Here is the project if you want to check the code:
Thank you.