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

[501] Operation is not implemented, or supported, or enabled. #98

Open rixcian opened 2 months ago

rixcian commented 2 months ago

A few days ago, I came across this issue. After some investigation, I found out where the problem was and fixed it.

The issue is caused by the push-receiver library (a dependency of this package) because it relies on the Legacy FCM API, which was deprecated on June 21st, 2024, by Google.

I forked this library and made some changes:

Here's the link to the repository: https://github.com/rixcian/firebase-electron (stars are welcome)

You can install it with: npm i firebase-electron

The usage is very similar to electron-push-receiver, but you need to gather more variables from Firebase due to an API update from Google. More info is available in my project, here.

Thanks for any feedback on my forked project. <3

admin-sup commented 1 month ago

I am facing the error. Is there any solution for this? @MatthieuLemoine.