Sounds good.

but i wonder if there would be a case where both could be active at the same time.

for example,  some company has an app that is in production,  now they need to make some modifications to it and want to make sure that they didn't break their push notifications, so they want to send some push notifications to the development version since they have separate development devices.

probably an edge case


On Jul 9, 2013, at 7:25 AM, Kris Borchers <kris@redhat.com> wrote:

That all seems sane to me. +1

On Jul 9, 2013, at 3:57 AM, Matthias Wessendorf <matzew@apache.org> wrote:

Hello!

right now the iOS variant does _only_ support upload of an "Development SSL Certificate" (see [1]). I'd like to add support for an "Production SSL Certificate" to the iOS Variant model class.

Besides the second certificate, the model class _should_ have a field to reflect the status (is production or not -> isProduction()), so that only one certificate is ACTIVE. Internally the "Sender API" would connect against the differen Apple servers (prod. verus dev), based on the value of the isProduction() method. 

Exposing "production" (or "development") on the Sender API would be really ugly. With the above said, the Sender-API remains stable.

The value of "isProduction" would be updateable on the AdminUI (and the underlying RESTful endpoints).

-Matthias



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev