<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">&lt;<a href="mailto:hbons@redhat.com" target="_blank">hbons@redhat.com</a>&gt;</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>

&gt; This only applies to Apple APNs? I&#39;d say if there isn&#39;t a technical<br>
&gt; reason why you&#39;d want to this for the other networks we leave it out<br>
&gt; for those.<br>
&gt;<br>
&gt; In Google you would use different API keys - in SimplePush it could be<br>
&gt; a different cloud provider etc<br>
&gt;<br>
&gt;<br>
&gt; Not sure why this would be a problem<br>
<br>
</div>I&#39;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 &quot;payload&quot; (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&#39;s OWN cert/key. Still if you send out something like:</div>
<div style><br></div><div style><pre style="font-family:Consolas,&#39;Liberation Mono&#39;,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,&#39;Liberation Mono&#39;,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 &quot;{PushApplicationID}:{MasterSecret}&quot;
   -v -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; 
   -X POST
   -d &#39;{&quot;key&quot;:&quot;value&quot;, &quot;alert&quot;:&quot;HELLO!&quot;}&#39;

<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 &quot;PushNetwork&quot;</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>