<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 28, 2013 at 1:05 PM, Hylke Bons <span dir="ltr"><<a href="mailto:hbons@redhat.com" target="_blank">hbons@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 28/06/2013 11:58, Matthias Wessendorf wrote:<br>
> This only applies to Apple APNs? I'd say if there isn't a technical<br>
> reason why you'd want to this for the other networks we leave it out<br>
> for those.<br>
><br>
> In Google you would use different API keys - in SimplePush it could be<br>
> a different cloud provider etc<br>
><br>
><br>
> Not sure why this would be a problem<br>
<br>
</div>I'm just trying to figure out the reasons for it so we can present it in<br>
the right way.<br>
<br>
<br>
Still, we would you want to use different settings if the result,<br>
getting a message to the client, is the same?<br></blockquote><div><br></div><div style>you lost me. Not sure what you are asking :)</div><div style><br></div><div style>Are you concerned about the "payload" (message) is represented differently ?</div>
<div style><br></div><div style>If one PushApp has several variants<span style="font-family:arial,sans-serif;font-size:13px">:</span></div><div style="font-family:arial,sans-serif;font-size:13px"><div><div>* HR-iOS-Tablet free</div>
<div>* HR-iOS-Tablet paid</div></div><div><div>* HR-iOS-Phone free</div><div>* HR-Android-Phone paid<br></div></div><div>* HR-Android-Watch free</div></div><div style><br></div><div style><br></div><div style>Each has it's OWN cert/key. Still if you send out something like:</div>
<div style><br></div><div style><pre style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:13px;margin-top:15px;margin-bottom:15px;background-color:rgb(248,248,248);border:1px solid rgb(221,221,221);line-height:19px;overflow:auto;padding:6px 10px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
<code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;padding:0px;border:none;background-color:transparent;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px">curl -u "{PushApplicationID}:{MasterSecret}"
-v -H "Accept: application/json" -H "Content-type: application/json"
-X POST
-d '{"key":"value", "alert":"HELLO!"}'
<a href="http://localhost:8080/ag-push/rest/sender/broadcast">http://localhost:8080/ag-push/rest/sender/broadcast</a></code></pre></div><div style><br></div><div style>the message would be delivered to all clients - regardless of the underlying "PushNetwork"</div>
<div style><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5"><br>
Hylke<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>