[501] Operation is not implemented, or supported, or enabled.
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:
- Uses the new FCM protocol (HTTP v1 API)
- Simplified the codebase
- Updated to the latest Node.js (v22)
- Refactored tests and used vitest for testing
- Completely rewritten in TypeScript
- Compatible with ESM and CommonJS
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
I am facing the error. Is there any solution for this? @MatthieuLemoine.