This repository has been deprecated and is not being maintained. If you have any questions, please get in touch with the collaborators.
A Java Library to send Push Notification to the Amazon Device Messaging Network. A complete documentation of the protocol can be found here
Project Info | |
---|---|
License: | Apache License, Version 2.0 |
Build: | Maven |
Documentation: | https://aerogear.org/push/ |
Issue tracker: | https://issues.jboss.org/browse/AGPUSH |
Mailing lists: | aerogear-users (subscribe) |
aerogear-dev (subscribe) |
Add the following to your pom.xml
file:
<dependency>
<groupId>org.jboss.aerogear</groupId>
<artifactId>java-adm</artifactId>
<version>0.1.0</version>
</dependency>
Then:
final AdmService messageService = ADM.newService();
final PayloadBuilder builder = ADM.newPayload();
builder.dataField("custom","custom");
messageService.sendMessageToDevice(<registrationId>, <clientId>, <clientSecret>, builder.build());
For more details about the current release, please consult our documentation.
If you would like to help develop AeroGear you can join our developer's mailing list, join #aerogear on Freenode, or shout at us on Twitter @aerogears.
Also takes some time and skim the contributor guide
Join our user mailing list for any questions or help! We really hope you enjoy app development with AeroGear!
If you found a bug please create a ticket for us on Jira with some steps to reproduce it.