Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rixcian opened this issue Aug 30, 2024 · 0 comments
Open

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

rixcian opened this issue Aug 30, 2024 · 0 comments

Comments

@rixcian
Copy link

rixcian commented Aug 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant