Code Monkey home page Code Monkey logo

Comments (5)

DaanGeurts avatar DaanGeurts commented on August 22, 2024

From what I understand from the APNS documentation is that you should check the APNS service regularly to fetch a list with device tokens that are not valid anymore and should be updated or removed from your service. I guess you should use the FeedBackService in a scheduled queued job. Am I right @barryvdh @dwightwatson ?

from apn.

dwightwatson avatar dwightwatson commented on August 22, 2024

Yeah, we could probably do with a better job explaining what you're meant to do with that. I'm not totally familiar with how it works with respect to pagination and so on, but a scheduled job that runs at a reasonable frequency for the sort of volume you're sending should do the trick.

from apn.

tobz-nz avatar tobz-nz commented on August 22, 2024

Right. Do you have a job you could easiiy chuck in here, or would it be useful for me to PR one?
I don't have a huge amount of time at the moment, but will get it done at some point anyway - if someone else doesn't.

from apn.

dwightwatson avatar dwightwatson commented on August 22, 2024

I don’t think we can supply a job because everyone’s token removal will be different. Unless we provided a stub to get people started? Open to ideas.

from apn.

tobz-nz avatar tobz-nz commented on August 22, 2024

True.. yes a stub should work. Sort out everything that can be done and leave final removal implementation to the user. 👍

from apn.

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.