PyAPNs
PyAPNs copied to clipboard
Python library for interacting with the Apple Push Notification service (APNs)
Apple increased the size limit for payload to 4k (5k for voip push) I'd add a pull request, but I noticed they are ignored lately
The link to iOS Local and Remote Notification Programming Guide is broken. It seems it's [that link now](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html).
Is there any plan to support the [Token-based connection](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW4)? It has the advantage over the certificate-based connection that PyAPNs currently supports: 1. it won't expire 1. can support multiple apps...
Hi, Can someone help me with a tutorial on how to start using this? in the example this is used: `apns = APNs(use_sandbox=True, cert_file='cert.pem', key_file='key.pem')` it never says how you...
The version on pypi is too old, and does not contain python 3 compatibility updates.
Update key 'thread-id', which was added by Apple to separate notifications by thread, in Payload class.
I am testing push notifications to my app using the demo script. I get the following error: `File "demopush2.py", line 25, in apns.gateway_server.send_notification(token_hex, payload) File "/Users/sagi/Dropbox/Projects/coral/coral/manager/push/apns_new.py", line 544, in send_notification...
python 2.7.3 ``` apns.gateway_server.send_notification_multiple(frame) File "/home/gaoenbo/py27/local/lib/python2.7/site-packages/apns.py", line 559, in send_notification_multiple self._sent_notifications += frame.get_notifications(self) AttributeError: 'GatewayConnection' object has no attribute '_sent_notifications' ``` ``` # Send multiple notifications in a single transmission...