This plugin allows apps to receive push messages.
The API reference is here.
channelIdis used for sending push messagings to instances of the app running on desktop; the
registrationIdis used for sending push messages to instances of the app running on Android; the deviceToken is used to send messages to instances of the app on iOS devices.
getChannelIdwill fail to obtain a
channelId(but will still obtain a
scopes. Push Messaging requires the scopes: https://www.googleapis.com/auth/gcm_for_chrome and https://www.googleapis.com/auth/gcm_for_chrome.readonly