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
191 stars 62 forks source link

PHONE_REGISTRATION_ERROR #62

Open fefitin opened 4 years ago

fefitin commented 4 years ago

I tried adding electron-push-receiver to a very simple electron app (https://github.com/electron/electron-quick-start) but I keep getting "Register request has failed with Error=PHONE_REGISTRATION_ERROR"

I also tried the example app (https://github.com/CydeSwype/electron-fcm-demo) with the same result.

I read several people had this problem when bundling the app, but in this case I'm just running it (npm start). Any ideas on why this could be happening?