<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">SimplePush works only as a "door bell" to tell your app, &nbsp;hey, &nbsp;you should go look on your server.<div><br></div><div>this is the spec &nbsp;<a href="https://wiki.mozilla.org/WebAPI/SimplePush">https://wiki.mozilla.org/WebAPI/SimplePush</a></div><div><br></div><div><br></div><div><div><div>On Apr 2, 2014, at 11:02 AM, Michi Oshima &lt;<a href="mailto:michi.oshima@gmail.com">michi.oshima@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div>Yesterday I managed to send my first message to a browser. &nbsp;Thanks for all your help.</div><div><br></div><div>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. &nbsp;Can a simple push client receive anything else other than version numbers? &nbsp;If so, what does the sender need to do, and what does the client need to do? &nbsp;(If there is a good example somewhere online I can work from that also.)</div>
<div><br></div><div>My client application (javascript on browser) holds multiple types of data. &nbsp;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". &nbsp;Or, in general it'd be nice if I can send more information than just a monotonically increasing number.&nbsp;</div>
<div><br></div><div>Here's my setup:</div><div><br></div><div><ul><li>AeroGear Push Server 0.10.0 hosted on OpenShift.<br></li><li>Sender is a JBoss app using org.jboss.aerogear.unifiedpush.JavaSender (unifiedpush-java-client-0.5.0.jar).<br>
</li><li>Client is a web browser using aerogear.js 1.4.0.<br></li></ul></div><div><br></div><div>I read <a href="http://aerogear.org/docs/specs/aerogear-push-messages/">this documentation</a>, but my wishful thinking refused to interpret it as saying: SimplePush variants use the "extra simple-push object" only.</div>
<div><br></div><div>Thank you,</div><div><br></div><div>Michi Oshima</div><div><br></div></div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></div></body></html>