APNS Test with Node.js

APNS test can help you testing Apple Push Notification without coding. It’s easy to install and use.

Installation

$ npm install apns_test -g

How to use

APNS test is the cli application.

$ apns_test your_token development|production cert_key_path private_key_pem [Message]

Example

$ apns_test 094f11604aa8fddb85c3cef4fd6e30dd42389b45d717113a0d922ee8f4ceb788 development ./cert.pem ./key.pem "Testing APNS"

or

$ apns_test 094f11604aa8fddb85c3cef4fd6e30dd42389b45d717113a0d922ee8f4ceb788 development ./cert.pem ./key.pem

You can read more detail at Github.

It’s using node-apn for send push notificaiton.

comments powered byDisqus