Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.33 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.33 KB

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