Giter Club home page Giter Club logo

Comments (6)

vijirajtp avatar vijirajtp commented on July 20, 2024

@stevenharman @kbrock @snatchev Anyone please do you know the solution to resolve this issue ?

from grocer.

jblac avatar jblac commented on July 20, 2024

@vijirajtp Not to be the "meanie" here, but how do you expect anyone to help you if you don't show us any of the code you've written? The documentation can tell you how to do it exactly, if you don't show what you've written how can anyone tell you where you went wrong?

from grocer.

vijirajtp avatar vijirajtp commented on July 20, 2024
 pusher = Grocer.pusher(
      certificate: certificate,      
      passphrase:  "xxxxxxx",                       
      gateway:     "gateway.push.apple.com", 
      port:        2195,                     
      retries:     3                         
    )

    notification = Grocer::Notification.new(
      device_token:      self.device_token,
      alert:             message,
      badge:             42
    )

Here i have given badge value as '42' here, but when i get the notifications in my device, the notification count is showing as '42'. Anyone please give an idea What does this badge value means ?

from grocer.

kbrock avatar kbrock commented on July 20, 2024

Hello @vijirajtp

I would expect that value to be in applicationIconBadgeNumber - which I thought was also the same as the notification count.

I can't seem to find "notification count" on google. They all point to badge number or badge count.

from grocer.

stevenharman avatar stevenharman commented on July 20, 2024

Here i have given badge value as '42' here, but when i get the notifications in my device, the notification count is showing as '42'.

That sounds like what's expected, no?

from grocer.

stevenharman avatar stevenharman commented on July 20, 2024

Hello @vijirajtp. I'm going to close this Issue due to inactivity. Please re-open it if you are still experiencing the problem and/or have more information to add.

Thank you!

from grocer.

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.