Code Monkey home page Code Monkey logo

Comments (11)

rburnham52 avatar rburnham52 commented on July 24, 2024 1

@ofcerci4826 We ended up using FCMSharp instead.

from fcm.net.

angelobelchior avatar angelobelchior commented on July 24, 2024

Yes, soon I will make a new version available. Feel free to submit a Pull Request :)

from fcm.net.

rburnham52 avatar rburnham52 commented on July 24, 2024

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?

from fcm.net.

rburnham52 avatar rburnham52 commented on July 24, 2024

Ah i see, FCM.net is using Legacy format. https://firebase.google.com/docs/cloud-messaging/http-server-ref

from fcm.net.

rburnham52 avatar rburnham52 commented on July 24, 2024

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?

from fcm.net.

martinhey avatar martinhey commented on July 24, 2024

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.

from fcm.net.

angelobelchior avatar angelobelchior commented on July 24, 2024

@martinhey I will begin soon to change the api to use the new features. Feel free to contribute :)

from fcm.net.

martinhey avatar martinhey commented on July 24, 2024

of course... let's keep in touch and define subtasks

from fcm.net.

markalanevans avatar markalanevans commented on July 24, 2024

@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.

from fcm.net.

ejdrian313 avatar ejdrian313 commented on July 24, 2024

is time_to_live change to ttl? because i can't set it in my projects now

from fcm.net.

ofcerci4826 avatar ofcerci4826 commented on July 24, 2024

@angelobelchior What is the latest situation on this subject?

from fcm.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.