usage: push_debug.py [-h] [-s] certificate device_id
Send test APNS notifications to device using cert
positional arguments:
certificate Push certificate
device_id Device ID
optional arguments:
-h, --help show this help message and exit
-s, --sandbox Use APNS sandbox environment
The push certificate file is the same file that would be uploaded to PubNub. Read the iOS docs for more instructions.
Send notification through production environment
python push_debug.py my_certificate.pem c35124fd2676d646423705b0721004e3b8426d163e10dbf76b46347a4477f12b
Send notification through sandbox environment
python push_debug.py -s my_certificate.pem 3f3980225497e1846fb5c2db9e0b3510023402c7a772011106c702d2aec20cc5
@dkong I use the same app. Lol.
Thanks!