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

This library will stop working on June 21, 2024 #18

Closed
coreybutler opened this issue Jun 2, 2024 · 3 comments · Fixed by #19
Closed

This library will stop working on June 21, 2024 #18

coreybutler opened this issue Jun 2, 2024 · 3 comments · Fixed by #19
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@coreybutler
Copy link

coreybutler commented Jun 2, 2024

Is this library still maintained? If so, Google deprecated https://fcm.googleapis.com/fcm/connect/subscribe (/send too), which is slated for full removal on June 21, 2024.

The reference library quoted in the README has a discussion about this at MatthieuLemoine/push-receiver#68.

Official deprecation announcement: https://firebase.google.com/docs/cloud-messaging/migrate-v1

@coreybutler coreybutler changed the title This library will stop working on June 20, 2024 This library will stop working on June 21, 2024 Jun 2, 2024
@morhaviv
Copy link
Owner

@coreybutler Thank you so much for the report, you saved me! :) In a few hours I'll release a new version using the new API.
If you want, there's a working version on branch I created called api_deprecation. I still need to update the usage example and add some parameters checks, and fix conventions and namings, but it generally works.

Now instead of SenderId, you need to provide a AppId, ProjectID, and the ApiKey (All can be obtained from sources (most likely strings.xml) of every android app).

@morhaviv morhaviv added bug Something isn't working enhancement New feature or request labels Jun 12, 2024
@morhaviv morhaviv self-assigned this Jun 12, 2024
@coreybutler
Copy link
Author

@morhaviv I'll check out the branch if I can, but I suspect you'll have the new version released before I have a chance to. I'm looking forward to trying it out though!

@morhaviv morhaviv linked a pull request Jun 12, 2024 that will close this issue
@morhaviv
Copy link
Owner

@coreybutler I've released it :) I would appreciate it if you could try it and let me know if it works properly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants