Home
Softono
Ionic-PushNotification-Server

Ionic-PushNotification-Server

Open source MIT Java
11
Stars
0
Forks
0
Issues
1
Watchers
8 years
Last Commit

About Ionic-PushNotification-Server

Server code to send Push Notification to iOS or Android device

Platforms

Web Self-hosted iOS Android

Languages

Java

Links

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 :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

iOS Push Notification

  • 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