Friday, 12 May 2017

APN configuration with authentication tokens

I'm trying to write some nodejs code to send a notification to an APN.[Apple push notification service]. I seem to have some control over the server code, but I need a device token from the client to get it.

I used this sample code http://samuli.hakoniemi.net/how-to-implement-safari-push-notifications-on-your-website/ To popup a notification, but this Method focusses on creating a pushpackage which again uses a certificate as opposed to an Authentication token.

Platform : MacOS Browser : Safari Method : Authentication Token/[Not certificates]

Need help with javascript code for extracting authentication token.



via Umashankar Das

No comments:

Post a Comment