FCM.Net
FCM.Net copied to clipboard
FCM updated their api.
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
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. However, whatever will be the final decision: I'm currently looking for a good option to send fcm messages using the new API version as I need the separation of values for iOS and Android. So could help to implement the new api version here rather than writing an own implementation. So if you already started implementation, maybe I could contribute.
@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.