Me: 'My client application (javascript on browser) holds multiple types of data. It would be nice if I can send a notification saying "there's an update for this data type", rather than just "there's an update". Or, in general it'd be nice if I can send more information than just a monotonically increasing number. '
On Apr 2, 2014, at 11:38 AM, Michi Oshima <michi.oshima@gmail.com> wrote:Thanks, Lucas. I read the spec yesterday and ended up looking at disturbing auctions for 30 minutes. I'll read it again.Another question, is there a way to send a "door bell" message *in one shot* to all iOS, Android, and SimplePush variants?well, iOS and Android notifications aren't really doorbells, but you can send a "message" to all clients that are registered in your Push Server.we have a Java clientand a node.js client for this(m:)_______________________________________________On Wed, Apr 2, 2014 at 11:04 AM, Lucas Holmquist <lholmqui@redhat.com> wrote:
SimplePush works only as a "door bell" to tell your app, hey, you should go look on your server.this is the spec https://wiki.mozilla.org/WebAPI/SimplePushOn Apr 2, 2014, at 11:02 AM, Michi Oshima <michi.oshima@gmail.com> wrote:_______________________________________________Hi,Yesterday I managed to send my first message to a browser. Thanks for all your help.I've tried sending a few different types of messages, and it so far appears to me the only thing I can send to a simple push client is a version number. Can a simple push client receive anything else other than version numbers? If so, what does the sender need to do, and what does the client need to do? (If there is a good example somewhere online I can work from that also.)My client application (javascript on browser) holds multiple types of data. It would be nice if I can send a notification saying "there's an update for this data type", rather than just "there's an update". Or, in general it'd be nice if I can send more information than just a monotonically increasing number.Here's my setup:
- AeroGear Push Server 0.10.0 hosted on OpenShift.
- Sender is a JBoss app using org.jboss.aerogear.unifiedpush.JavaSender (unifiedpush-java-client-0.5.0.jar).
- Client is a web browser using aerogear.js 1.4.0.
I read this documentation, but my wishful thinking refused to interpret it as saying: SimplePush variants use the "extra simple-push object" only.Thank you,Michi Oshima
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev