Skip to content

aggarwalankush/push-notification-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Push Notification Server

This can be used to send Push Notification to iOS or Android Device.

Android Push Notification

  • SERVER_KEY - if you don't have SERVER_KEY, generate using this tutorial ๐ŸŽ‰

  • DEVICE_TOKEN - if you don't have device token, in case of Ionic 2, use this tutorial or this repo ๐Ÿ‘

  • AndroidPush.java - run this file to push notification to Android device

    $ javac AndroidPush.java
    $ java  AndroidPush
    

iOS Push Notification

  • APNS certificate(.p12) - if you don't have .p12 certificate, generate using this tutorial ๐ŸŽ‰

  • DEVICE_TOKEN - if you don't have device token, in case of Ionic 2, use this tutorial or this repo ๐Ÿ‘

  • IOSPush.java - run this file to push notification to iOS device

    $  javac -cp apns.jar:. IOSPush.java
    $  java  -cp apns.jar:. IOSPush 
    

About

Server code to send Push Notification to iOS or Android device

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages