[aerogear-dev] iOS Variant: Support for Production/Distribution SSL Certificates

Matthias Wessendorf matzew at apache.org
Tue Jul 9 12:54:10 EDT 2013


updated in spec/docs.....

On Tuesday, July 9, 2013, Matthias Wessendorf wrote:

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

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130709/e9270149/attachment.html 


More information about the aerogear-dev mailing list