/SimplePush

A simple way to test iOS push notifications from the comman line

Primary LanguagePHP

SimplePush

To create a push, export both the private an public key as server_certificates_bundle[_sandbox].p12

openssl pkcs12 -in server_certificates_bundle_sandbox.p12 -out server_certificates_bundle_[sandbox].pem -nodes -clcerts

To create a push, modify simplepush.php to the correct token and cert. To make a push simply type:

php simplepush.php