A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).
Why and how ?
See this blog post.
npm i -S electron-push-receiver
main.js/ in main process :
const setup: setupPushReceiver = ;// Call it before 'did-finish-load' with mainWindow a reference to your window;
- In renderer process :
;;// Listen for service successfully startedipcRenderer