-
Notifications
You must be signed in to change notification settings - Fork 28
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
FCM updated their api. #15
Comments
Yes, soon I will make a new version available. Feel free to submit a Pull Request :) |
What exactly did they change? based on the docs it looks like Notification only has Title / Body but FCM's notification contains additional properties like Badge. Is this what has changed? Looks like they added platform specific objects at the root as well. Does this mean badge updates won't work? |
Ah i see, FCM.net is using Legacy format. https://firebase.google.com/docs/cloud-messaging/http-server-ref |
I started working on this and it seems like a bigger change that i thought. The V1 is an entirely new endpoint that requires the ProjectId for the Url and authenticates using OAuth 2.0. It's looking like some pretty big change to sender that i was hoping not to do. At the moment i'm just creating a new V1 namespace, that way anyone using the old format should still work. But there seems to be enough changes to question, should this be a separate package? |
In my opinion the legacy implementation should be a separate package, as there are too many changes and I think it would be hard to maintain both api versions in the same library. |
@martinhey I will begin soon to change the api to use the new features. Feel free to contribute :) |
of course... let's keep in touch and define subtasks |
@martinhey so @angelobelchior i'm just starting out, but does this package not support V1? Should I not consider this Package? Perhaps update the Readme.md with the details. |
is time_to_live change to ttl? because i can't set it in my projects now |
@angelobelchior What is the latest situation on this subject? |
@ofcerci4826 We ended up using FCMSharp instead. |
FCM updated their api. Do you plan to update your library for new api version? Now default sounds are not supported in iOS by FCM.Net.
https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages
The text was updated successfully, but these errors were encountered: