Nickersoft / push.js

The world's most versatile desktop notifications framework :earth_americas:
https://pushjs.org
MIT License
8.76k stars 548 forks source link

How can we use the library for GCM push messages? #37

Closed ghost closed 6 years ago

ghost commented 8 years ago

I'm looking for a way to integrate the library to allow GCM push notifications to be able to show messages on both desktop and mobile chrome browser.

Is it possible currently? If yes, how do I do it?

Nickersoft commented 8 years ago

Sorry for the late response... I actually don't know too much about GCM, so perhaps another contributor might be able to better answer this question. I have not tested the library with GCM or used it before.

dmitry-korolev commented 8 years ago

Actually no, because Push.js has nothing to do with Web Push API. I have to notice that 'Push.js' is a very confusing name for this library.

Nickersoft commented 7 years ago

Hi guys! I know this issue going on a year old, but I just wanted to let you know that Push.js is currently on the road to v1.0, complete with third-party plugin support. I'm in the process of putting the finishing touches on the first ever plugin, which happens to be for Firebase/Google Cloud Messaging! It isn't published yet, but I thought I'd let you guys know. I didn't forget about you! You can check out the plugin here:

https://github.com/Nickersoft/pushjs-fcm-plugin

ghost commented 7 years ago

This is such an awesome news man. I can't wait for you to finish the plugin.

On Jun 15, 2017 11:07 PM, "Tyler Nickerson" notifications@github.com wrote:

Hi guys! I know this issue going on a year old, but I just wanted to let you know that Push.js is currently on the road to v1.0, complete with third-party plugin support. I'm in the process of putting the finishing touches on the first ever plugin, which happens to be for Firebase/Google Cloud Messaging! It isn't published yet, but I thought I'd let you guys know. I didn't forget about you! You can check out the plugin here:

https://github.com/Nickersoft/pushjs-fcm-plugin

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Nickersoft/push.js/issues/37#issuecomment-308799310, or mute the thread https://github.com/notifications/unsubscribe-auth/AEZfRSu3kDoKRMD4imKQNPU0MxKlX21Zks5sEV-ngaJpZM4Ikgvc .

Nickersoft commented 7 years ago

Good news guys! Push v1.0 and the FCM plugin are OUT!

$ npm install push.js --save
$ npm install push-fcm-plugin --save

Read the docs on using FCM with Push here.

ghost commented 7 years ago

Woohoo! The wait is finally over.

Best,

Anil

On Jul 11, 2017 1:06 AM, "Tyler Nickerson" notifications@github.com wrote:

Good news guys! Push v1.0 and the FCM plugin are OUT!

$ npm install push.js --save $ npm install push-fcm-plugin --save

Read the docs on using FCM with Push here https://github.com/Nickersoft/pushjs-fcm-plugin.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Nickersoft/push.js/issues/37#issuecomment-314211767, or mute the thread https://github.com/notifications/unsubscribe-auth/AEZfRSh_RUe_ybi2z_liUpb9LBeAOZQwks5sMn1YgaJpZM4Ikgvc .