+1 Make totally sense


On Wed, Jan 22, 2014 at 9:57 AM, Matthias Wessendorf <matzew@apache.org> wrote:
Howdy!

Going over the code I recalled that right now we somewhat nail the device-type for SimplePush clients down to just 'web' (see [1] and [2]).

However w/ the new Java-Client, [3], (e.g. for desktop environments) it would be pretty stupid to 'require' the 'web' there as well.

Instead of coming up w/ something else, I'd propose handle it like we do Android/iOS.
Basically: Feel free to register your device with a device-type what ever you are up to; Use the same for the sending/querying part, if it fits your backend/model.

Any thoughts?

Greetings,
Matthias


[1] https://github.com/aerogear/aerogear.org/blob/master/docs/specs/aerogear-push-messages/index.markdown#query-component
[2] https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/service/sender/impl/SenderServiceImpl.java#L157
[3] https://github.com/aerogear/aerogear-simplepush-java-client


--
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