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 64 forks source link

ipcRenderer is undefined #28

Closed Manjucloudmpower closed 6 years ago

Manjucloudmpower commented 6 years ago

getting an error ipcRenderer is undefined on main.js

MatthieuLemoine commented 6 years ago

You can't use ipcRenderer in the main process. Only in the renderer process.

Manjucloudmpower commented 6 years ago

Hi. This is regarding electron-push-reciever. It is generating token successfully but not receiving any notification when I test it out from firebase console. But firebase says as Success. Is there anything to be done additionally after generating tokens?

Thanks for the reply.

On Thu, Jul 19, 2018 at 8:05 PM, Matthieu Lemoine notifications@github.com wrote:

You can't use ipcRenderer in the main process. Only in the renderer process.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MatthieuLemoine/electron-push-receiver/issues/28#issuecomment-406298483, or mute the thread https://github.com/notifications/unsubscribe-auth/AhPqhhpxKvJmCT5gTX2bGQMV8kR6QqOjks5uIJk_gaJpZM4VWTJA .

Amethystafyy282 commented 3 years ago

@Manjucloudmpower Hi, have u been able to fix when fire says success but didn't receive anything? Thank u!

Manjucloudmpower commented 3 years ago

Hello, I couldn't recieve push notification when I triggered it from the firebase console but it did work when sent from backend.

shahketul11 commented 1 year ago

Hello, I am not able to generate a token using electron-push-reciver Please help me out