Skip to content
/ apns-node Public
forked from jpoz/apns-node

Apple push notification service for Node.js

License

Notifications You must be signed in to change notification settings

mxml/apns-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apns-node

Apple push notification service for Node.js

Warning

You need node v0.1.92 for apns-node :-)

Usage

var pem_path = './secure.pem'
// openssl pkcs12 -in mycert.p12 -out client-cert.pem -nodes -clcerts

var device_id = require('fs').readFileSync('./device_id.txt');
// remember to remove "<", ">" and " "'s

var APNS = require('apns').createServer(pem_path);
APNS.notify(device_id, {alert:"Hello", sound: "default", badge:7});

Copyright

Copyright (c) 2010 James Pozdena. See LICENSE for details.

About

Apple push notification service for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%