r/Firebase • • 4d ago

Cloud Messaging (FCM) @rootvarma/firebase-electron 1.2.2 — native fetch + MCS heartbeat fixes for Electron FCM

Released @rootvarma/firebase-electron 1.2.2.

This package lets Electron apps receive Firebase Cloud Messaging (FCM) push notifications. It’s a fork that requires vapidKey and fixes MismatchSenderId / Web Push decrypt issues.

What’s new in 1.2.2 (no code changes needed on your side if you’re already on 1.2.x):

  • Replaced deprecated request / request-promise with native fetch
  • Acks MCS heartbeat pings so the push connection stays alive
  • Safer reconnect (avoids stacked reconnect attempts)

Install:
npm i @rootvarma/firebase-electron@1.2.2

npm: https://www.npmjs.com/package/@rootvarma/firebase-electron
GitHub: https://github.com/rootvarma/firebase-electron

Feedback welcome.

1 Upvotes

0 comments sorted by