Skip to content

Demonstrate How to send push with Token-Based Connection(.p8 file)

Notifications You must be signed in to change notification settings

MrBoog/Test-ANPS-with-p8-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

iOS APNs with a Node.js backend

The open source service: https://www.npmjs.com/package/apn

First we need to initiate a new Node.js project and apn package for npm.

npm install apn --save  

Then copy the .p8 file to your current folder, rename it as apns.p8.

Modify the app.js file, fill in apnProvider & deviceToken & notification etc.

After this, just use node app.js to run this script.

About

Demonstrate How to send push with Token-Based Connection(.p8 file)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published