Comments (5)
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.
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.
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.
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.
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)
- Queued notifications stop being sent after a few hours/days HOT 1
- On-Demand Notifications HOT 5
- Wrong documentation concerning production. HOT 2
- Laravel 8 Support HOT 1
- Message : Undefined offset: in KeyConverter.php HOT 6
- Unable to not send `mutable-content` HOT 1
- Possible to support collapsing notifications HOT 4
- PHP Version 8.0 Does Not Satisfy HOT 1
- How do I troubleshoot problems I'm having with this package? HOT 5
- Allow newer Pushok version with composer HOT 1
- Laravel 7.3 - PHP 7.2 - APN 2.3 - Not working HOT 10
- Unable to send badge zero with Laravel 6. HOT 3
- Set alert HOT 8
- Allow support for $subtitle HOT 4
- Target [Pushok\AuthProviderInterface] is not instantiable while building [Pushok\Client] HOT 20
- iOS background notification should not set anything for `alert` HOT 1
- change environment to production HOT 10
- Handling 410 responses? HOT 2
- Possible to support apns-id HOT 2
- Laravel Vapor - HTTP/2 stream 15 was not closed cleanly before end of the underlying stream in HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apn.