3 ms·
What about for a webapp, even an offline one? Is there a hook into GCM from Javascript or something like that?
by kevinbowman 13y ago
What about for a webapp, even an offline one? Is there a hook into GCM from Javascript or something like that?
- tjohns 13y agoI suppose you could use the Java-to-JS bridge, if you're using WebView inside a native app. However, there's not really any "mobile-friendly" push solution available as part of HTML5 right now. I wish there was. There's "GCM for Chrome" (http://developer.chrome.com/apps/cloudMessaging.html http://developer.chrome.com/apps/cloudMessaging.html), but that's both Chrome-only and only available on the desktop.