OneSignal SDK
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

OneSignal-Java-SDK: Simple OneSignal Java REST client

  • Build status Travis
  • Latest release Maven Central
  • License License

OneSignal provides Push Notification delivery and automation. This SDK is its unofficial Java REST client library.


All you need to do is call a method from com.currencyfair.onesignal.OneSignal class.

This SDK provides easy to use builders for Notification, App, Session and Device objects.

All 300+ status codes returned from OneSignal will be thrown as an unchecked com.currencyfair.onesignal.OneSignalException.


To build:

$ git clone
$ cd OneSignal-Java-SDK/
$ mvn install


Binaries and dependency information for Maven, Ivy, Gradle and others can be found at

Replace x.y.z with Maven Central or current SNAPSHOT version.

Example for Gradle:

compile 'com.currencyfair:onesignal:x.y.z'

and for Maven:


and for Ivy:

<dependency org="com.currencyfair" name="onesignal" rev="x.y.z" />

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.


This work is copyright by CurrencyFair ( and licensed under the terms of Apache License, Version 2.0.