GithubHelp home page GithubHelp logo

Comments (5)

calonso avatar calonso commented on July 21, 2024

Hi @gabrieletassoni. Rails push notifications gem uses Ruby Push Notifications to build notifications. In the particular case of GCM the data is appended here: https://github.com/calonso/ruby-push-notifications/blob/master/lib/ruby-push-notifications/gcm/gcm_notification.rb#L26 which means that whichever thing you append there should be delivered.

Let me know if you need any further help or you figured out already.
Cheers!

from rails-push-notifications.

gabrieletassoni avatar gabrieletassoni commented on July 21, 2024

Many thanks for the answer and the good direction,
I'll dig more into the payload to be sent and how to manage it client side, I'm using the GCM demo provided by Google, which I think it manages just the :message key, I'll experiment with it to show custom payload fields.

Thanks again,
Gabriele

from rails-push-notifications.

calonso avatar calonso commented on July 21, 2024

Ok, that's great.

Let me know if you need anything else and I'll be happy to help.

PS: Once you work out how to add them, could you please add an example to this thread should someone else find it useful? Also an update of the gem's docs/examples would he lovely.

Regards

from rails-push-notifications.

gabrieletassoni avatar gabrieletassoni commented on July 21, 2024

Yes, for sure! ^_^ In a couple of days Iā€™d manage to code again on that project and hopefully report back here.

Bye.

Il giorno 29 gen 2016, alle ore 11:26, Carlos Alonso [email protected] ha scritto:

Ok, that's great.

Let me know if you need anything else and I'll be happy to help.

PS: Once you work out how to add them, could you please add an example to this thread should someone else find it useful? Also an update of the gem's docs/examples would he lovely.

Regards

ā€”
Reply to this email directly or view it on GitHub #7 (comment).

from rails-push-notifications.

calonso avatar calonso commented on July 21, 2024

Closing issue as stale. Any update @gabrieletassoni??

Please reopen when you're ready.

from rails-push-notifications.

Related Issues (18)

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.