updated in spec/docs.....<span></span><br><br>On Tuesday, July 9, 2013, Matthias Wessendorf wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">BTW.... when creating the iOS varian....<div>
<br></div><div><br></div><div>developmentCertificate/Passphrase and productionCertificate/Passphrase are the new Formular Values....... (needs to be updated)</div>
<div><br></div><div><br></div><div>-M</div></div><div><br><br><div>On Tue, Jul 9, 2013 at 6:41 PM, Matthias Wessendorf <span dir="ltr"><<a>matzew@apache.org</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I pushed an early version of it to [1]. It's a branch, not (yet) a PR.</div>
<div><br></div><div>Basically here is a how the payloads MIGHT look like: </div><div><br></div>
<div>Broadcast Payload:</div><div>{</div><div> "alert":"HELLO!",</div><div> "sound":"default",</div><div> "staging":"development",</div><div> "badge":7,</div>
<div> "simple-push":"version=123",</div><div> "someKey":"some value",</div><div> "anotherCustomKey":"some other value"</div><div>}</div><div><br></div><div>Selective Send Payload:</div>
<div>{</div><div> "alias" : ["<a>user@account.com</a>", "<a>someone@aerogear.org</a>", ....],</div>
<div> "deviceType" : ["iPad", "AndroidTablet"],</div>
<div> "staging":"development",</div><div> "message": {</div><div> "alert":"HELLO!",</div><div> "sound":"default",</div><div> "badge":7,</div>
<div> "someKey":"some value",</div><div> "anotherCustomKey":"some other value"</div><div> },</div><div> "simple-push": {</div><div> "SomeCategory":"version=123",</div>
<div> "anotherCategory":"version=456"</div><div> }</div><div>}</div><div><br></div><div>Note: if the "staging" is NOT present, the PRODUCTION cert. (if present) will be used. If no cert is present ..... a WARNING is logged...</div>
<div><br></div><div>Also,..... only on iOS....</div><div><br></div><div><br></div><div>-Matthias</div><div><br></div><div>[1] <a href="https://github.com/aerogear/aerogear-unified-push-server/tree/ProdCerts" target="_blank">https://github.com/aerogear/aerogear-unified-push-server/tree/ProdCerts</a></div>
<div><br></div><div><br></div></div><div><div><div><br><br><div>On Tue, Jul 9, 2013 at 2:40 PM, Matthias Wessendorf <span dir="ltr"><<a>matzew@apache.org</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div><br><br><div><div>On Tue, Jul 9, 2013 at 2:21 PM, Matthias Wessendorf <span dir="ltr"><<a>matzew@apache.org</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div><br><br><div><div>On Tue, Jul 9, 2013 at 2:14 PM, Kris Borchers <span dir="ltr"><<a>kris@redhat.com</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div>On Jul 9, 2013, at 7:09 AM, Matthias Wessendorf <<a>matzew@apache.org</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><br><div><br><br><div>On Tue, Jul 9, 2013 at 2:04 PM, Kris Borchers <span dir="ltr"><<a>kris@redhat.com</a>></span> wrote:<br>
<blockquote 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 style="word-wrap:break-word"><br><div><div>
<div>On Jul 9, 2013, at 6:56 AM, Matthias Wessendorf <<a>matzew@apache.org</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">They could have a "test" variant :) I'd hate to expose something like "prod/dev" to the sender, especially since that is ONLY iOS :)</div>
</blockquote><div><br></div></div>I guess a test variant would do the job. I'm good either way on that. Probably another thing that would need clear documentation.</div></div></blockquote><div><br></div><div>I guess having a "staging</div>
</div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div></div></blockquote><br><br>-- <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><br>