I don't know the details so sorry if what I say make no sense :
Could we not hide these 2 protocols/senders behind the same variant and use the metadata of the "installation" like "platform" or "os" to make the right switch ? 


On Tue, Sep 9, 2014 at 6:40 PM, Erik Jan de Wit <edewit@redhat.com> wrote:
Hi all,

I'm building the cordova support, but there is a bit of an issue, right now we support windows WNS message, these 'only' work for windows phone 8.1. Seems though that cordova projects are for multiple versions 8.0 also being one of them. This means that WNS will not work on cordova, but the older MPNS will. The client library already supports both, but UPS not yet. The problem now is how do we support both of these on UPS. The most simple solution is to have 2 variant types WindowsWNSVariant and WindowsMPNSVariant, that we can have 2 sender implementations for both protocols. We could still group these together somehow on the UI. What do you think?

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