Comments (1)
I'm not sure, but maybe this header is used only if first delivery is failed (e.g. device suddenly became unavailable). But for the first delivery, there is a different rule:
If APNs attempts to deliver a notification and the destination device is offline, APNs stores the notification for a limited period of time and delivers it when the device becomes available again. This component stores only the most recent notification per device and per app.
Also, expiration header requires timestamp after which notification is no longer relevant instead of ttl
from pyapns2.
Related Issues (20)
- hyper dependency is no longer maintained HOT 26
- Where's extra flag? HOT 2
- threading.Thread.setDaemon has been deprecated in favor of setting daemon attribute directly in Python 3.10 HOT 1
- How to get the response? My notification works for some device tokens but fails for other. HOT 1
- apns2 0.7.2 requires PyJWT<2.0.0,>=1.4.0, but you have pyjwt 2.1.0 which is incompatible. HOT 25
- DeviceTokenNotForTopic for voip push HOT 1
- SSL error HOT 1
- The library dependency hyper seems not compatible with 3.10 HOT 2
- send_notification_batch method discards same token result during compose batch response HOT 1
- Fail to push notification HOT 1
- AttributeError: 'PosixPath' object has no attribute 'create_connection'
- Python 3.10 compatibility HOT 3
- ssl.SSLZeroReturnError HOT 7
- Compatibility with Mac M1 (Python 3.10) HOT 3
- Vulnerability in PyJWT HOT 2
- How is set apns-id? HOT 1
- Failing to find Algorithm 'ES256' in aws lambda HOT 1
- ssl.SSLError: [SSL: BAD_LENGTH] bad length HOT 4
- Current status of project HOT 1
- Provided examples do not work 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 pyapns2.