Giter Club home page Giter Club logo

Comments (1)

stevenharman avatar stevenharman commented on June 5, 2024

supports (or can easily be made to support) a persistent connection to Apple's server.

Yes, Grocer is intended to be use this way. However, it is up to you to be sure you're using the same Grocer::Pusher instance to send your notifications. Exactly how you do this depends and varies widely based on your set up. For Sidekiq you'll likely want to create some sort of pool that your workers can pull from (i.e., perhaps use the connection_pool gem to create a pool of Grocer::Pusher instances?).

support notifications to separate apps (iphone, and ipad - potentialy also free and paid) which unfortunately require separate certificates from Apple.

As that requires different certificates, it will required different Grocer::Pusher instances. Again, this is going to depend heavily on your setup. If you're sending to different iOS apps, from a single server-side app, using something like Sidekiq I would image you'll want different jobs for each app, so the job can be sure to use the correct pusher.

We would welcome documentation you might come up with while getting this set up. And please continue to ask questions here, or at the #grocer channel on Freenode.

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.