Skip to content

A sample code for showing how to send mobile notification by using OneSignal Web Service

Notifications You must be signed in to change notification settings

emrahonder/Sample-for-OneSignal-Mobile-Notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample for OneSignal Notification Send

This sample shows how to send mobile notification with using OneSignal system. OneSignal can send mobile notification very easily and it provides a restful webservice. Just player ID is required and this id is generated once an mobile application is setup and sent to OneSignal. This player ID can be got from OneSignal GUI.

To send request, JSON is needed. To generate JSON, I have used this lib (https://github.com/stleary/JSON-java), I have packaged this lib and added into project. Sample Code:

		sendNotification("PLAYERID","TITLE","CONTENT");

About

A sample code for showing how to send mobile notification by using OneSignal Web Service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages