MatthieuLemoine / electron-push-receiver

A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).

Home Page:https://medium.com/@MatthieuLemoine/my-journey-to-bring-web-push-support-to-node-and-electron-ce70eea1c0b0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generating token but no notification

cmpDrone opened this issue · comments

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

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

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

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