So to follow up on this,


Chrome Packaged Applications, no recommend to use the same GCM network for Android when sending push notifications.

Currently in the UnifiedPush Server, a user can use the Android variant to use this new API now.  

I think we should rename the AndroidVariant.class and related stuff to GCMVariant .  

I created this Task to track the changes, https://issues.jboss.org/browse/AGPUSH-928  since we need to deprecate the current Chrome implementation and update the UI’s for the new way.

i’m wondering for the “Create Variant” dialog,  for Android,  we would need to change the name to GCM,  but for the icon’s  i wonder how it would look to put both Android and Chrome icons, side by side


On Aug 27, 2014, at 2:19 PM, Lucas Holmquist <lholmqui@redhat.com> wrote:


On Aug 27, 2014, at 2:15 PM, Lukáš Fryč <lukas.fryc@gmail.com> wrote:

Hey Luke,

ad) Variants

it would be ideal if we could just use the same variant!

yea,  it’s looking like it will be the same thing,  we might just have to make a note of it on the UI


ad) Compatibility

I would say we should preserve the compatibility with 1.x as long as it does not make much efforts to keep both supported.

If it would be too much hassle, let's remove it in 1.1.
Chrome is updated pro-actively anyway, so no one will hear about the old API in few months.

exactly,  so maybe a warning or something


Cheers,

~ Lukas


On Wed, Aug 27, 2014 at 3:28 PM, Lucas Holmquist <lholmqui@redhat.com> wrote:
Hello,

now that the 1.0.0-final is pretty much out for the UnifiedPush Server,  i’m starting to look at the new API that Chrome apps use for sending push notifications.

the TL;DR of it is,  it’s basically the same as Android now.( no more refresh tokens and access tokens and such )

So the question is,  do we need to have a deprecation period on what is currently there?

The v1 of the chrome pushMessaging api has become legacy and it is recommended to use the new stuff.  https://developer.chrome.com/apps/cloudMessagingV1

While i have looked to deeply,  it’s possible we can use the same “Variant” structure for Chrome Apps,  Since they will be using the same Network

wdyt?

-Luke

_______________________________________________
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

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