MatthieuLemoine / electron-push-receiver

A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).
https://medium.com/@MatthieuLemoine/my-journey-to-bring-web-push-support-to-node-and-electron-ce70eea1c0b0
MIT License
194 stars 69 forks source link

generating token but no notification #29

Closed cmpDrone closed 6 years ago

cmpDrone commented 6 years ago

Tokens are being generated successfully. Pushing notifications from firebase console using generated token and it shows as success. But not receiving any notification.

maxfadeev commented 5 years ago

Hi. I run into the same issue. If you have fixed that could you explain how you did that please ?

maxfadeev commented 5 years ago

I have just seen the explanation in the electron-fcm-demo description

With the app running, select View -> Toggle Developer Tools. You should see the client's FCM push token in the Chromium debug console. Copy this token and paste it into the postman_collection.json (replacing "FCM_CLIENT_PUSH_TOKEN" with it). You should now be able to send yourself (or any other client registered with your Sender ID) a push message using Postman

shahketul11 commented 1 year ago

Please explain how the token is generate using electron-push-receiver as I ain't able to get through it Screenshot 2023-07-11 at 3 59 47 PM