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(a)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(a)account.com", "someone(a)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(a)apache.org>wrote:
On Tue, Jul 9, 2013 at 2:21 PM, Matthias Wessendorf <matzew(a)apache.org>wrote:
On Tue, Jul 9, 2013 at 2:14 PM, Kris Borchers <kris(a)redhat.com> wrote:
On Jul 9, 2013, at 7:09 AM, Matthias Wessendorf <matzew(a)apache.org> wrote:
On Tue, Jul 9, 2013 at 2:04 PM, Kris Borchers <kris(a)redhat.com> wrote:
On Jul 9, 2013, at 6:56 AM, Matthias Wessendorf <matzew(a)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