Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow APNS expiration to be 0 #436

Merged
merged 1 commit into from Nov 2, 2019
Merged

Conversation

McPo
Copy link
Contributor

@McPo McPo commented Nov 1, 2019

0 is a valid value for APNS expiration, which dictates not to store the push notification. Currently setting it to 0, gorush drops the value as oppose to passing it on to APNS.

https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

@appleboy appleboy merged commit d9aa8cb into appleboy:master Nov 2, 2019
@appleboy
Copy link
Owner

appleboy commented Nov 2, 2019

@McPo Good catch. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants