PyAPNs2 icon indicating copy to clipboard operation
PyAPNs2 copied to clipboard

Python library for interacting with the Apple Push Notification service (APNs) via HTTP/2 protocol

Results 26 PyAPNs2 issues
Sort by recently updated
recently updated
newest added

> from apns2.client import APNsClient > from apns2.payload import Payload > > token_hex = 'b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b87' > payload = Payload(alert="Hello World!", sound="default", badge=1) > topic = 'com.example.App' > client = APNsClient('key.pem',...

Based on apple docs https://developer.apple.com/documentation/usernotifications/unmutablenotificationcontent/interruptionlevel GOAL: Adding _`interruption-level`_ key nested in _`aps`_ Proposal Behavior: 1. Default value for _`interruption_level`_ is _None_ to not impact in current alert behavior. 2. There...

There are some packages that want to me use the potential of this library, and one of the recent features is notifications with a kind of priority as time sensitive...

Doesn't work in python 3.11

# Replace hyper with httpx for HTTP/2 client This PR replaces the hyper HTTP/2 client library with httpx. The main changes are: ## Changes - Replace hyper dependency with httpx...