[aerogear-dev] SPAM:Re: Send Push message with Text and URL on iOS
Erik Jan de Wit
edewit at redhat.com
Fri Nov 7 02:36:17 EST 2014
Hi Andreas,
The server admin console for sending messages is only meant for testing that everything works, that is why it only supports ‘simple’ messages. What you want to do is integrate it with your server and send messages via the REST api that UnfiedPush Server has. There are several clients for server side integration
java https://github.com/aerogear/aerogear-unifiedpush-java-client
node https://github.com/aerogear/aerogear-unifiedpush-nodejs-client
php https://github.com/aerogear/aerogear-unified-push-php-client
Have a look at the message format to see how to send extra information:
http://aerogear.org/docs/unifiedpush/push-message-format/
For testing this you could use curl, to invoke the restful endpoint.
Hope this helps,
Erik Jan
On 6 Nov,2014, at 20:30 , Andreas Røsdal <andreas.rosdal at adresseavisen.no> wrote:
> Great! Could you please guide me in how to add this URL field to the Server Admin, so that I can send both a message and an URL in the same Push Message?
>
> Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20141107/2e99c536/attachment.html
More information about the aerogear-dev
mailing list