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 git@github.com:CurrencyFair/OneSignal-Java-SDK.git
$ cd OneSignal-Java-SDK/
$ mvn install
Binaries and dependency information for Maven, Ivy, Gradle and others can be found at http://search.maven.org.
Replace x.y.z
with or current SNAPSHOT version.
Example for Gradle:
compile 'com.currencyfair:onesignal:x.y.z'
and for Maven:
<dependency>
<groupId>com.currencyfair</groupId>
<artifactId>onesignal</artifactId>
<version>x.y.z</version>
</dependency>
and for Ivy:
<dependency org="com.currencyfair" name="onesignal" rev="x.y.z" />
For bugs, questions and discussions please use the Github Issues.
This work is copyright by CurrencyFair (https://currencyfair.com) and licensed under the terms of Apache License, Version 2.0.