This can be used to send Push Notification to iOS or Android Device.
SERVER_KEY
- if you don't have SERVER_KEY, generate using this tutorial :tada:DEVICE_TOKEN
- if you don't have device token, in case of Ionic 2, use this tutorial or this repo :+1:AndroidPush.java
- run this file to push notification to Android device
$ javac AndroidPush.java
$ java AndroidPush
APNS certificate(.p12)
- if you don't have .p12 certificate, generate using this tutorial :tada:DEVICE_TOKEN
- if you don't have device token, in case of Ionic 2, use this tutorial or this repo :+1:IOSPush.java
- run this file to push notification to iOS device
$ javac -cp apns.jar:. IOSPush.java
$ java -cp apns.jar:. IOSPush