How to implement Google Cloud Service - Messaging in Chrome?

The Google Cloud Messaging for Chrome documentation does not contain information about the messaging feature. https://developers.google.com/cloud-messaging/chrome/client

Not yet available?

Here are the GCM help docs without the subscription method https://developer.chrome.com/apps/gcm

And here is a link to Android and iOS with the GcmPubSub class that provides subscription / unsubscribe methods: https://developers.google.com/android/reference/com/google/android/gms/gcm/GcmPubSub https: // developers. google.com/cloud-messaging/ios/api/gcm/interface_g_c_m_pub_sub

+2
source share
2 answers

Unfortunately, it has not yet been implemented. Please contact us: https://groups.google.com/forum/#!forum/gcm-for-chrome-feedback to contact the developers or request a function here: https://code.google.com/p/ chromium / issues / list

+3
source

Conducting the answer for the sake of visibility of the answer, I commented.


FCM recently announced (October 17, 2016) the Firebase JavaScript library :

- Firebase Cloud Messaging (FCM) JavaScript. , , , .

-

JavaScript FCM - , . Android, iOS Web, . , API- .

Firebase JavaScript.

+1

Source: https://habr.com/ru/post/1627486/


All Articles