I have chrome packaged app, and there I use GCM.
NW.js said that they will continue to support chrome APIs in this article, but I can't get a registration ID when using chrome.gcm.register
.
Any news about this? Is this API still supported?
Solution is to use --enable-gcm
flag in command line.
Example(OS X):
open -n -a nwjs --args --enable-gcm /path/to/app/