[Aerogear-users] categories have been hijacked

Kelvin Lunsford kelvin at qantel.com
Mon Aug 17 18:01:06 EDT 2015


What happens if a category name is not GCM topic compatible?

- Kelvin

From: aerogear-users-bounces at lists.jboss.org [mailto:aerogear-users-bounces at lists.jboss.org] On Behalf Of Summers Pittman
Sent: Tuesday, August 11, 2015 10:03 AM
To: aerogear-users at lists.jboss.org
Subject: Re: [Aerogear-users] categories have been hijacked


For your tracking purposes : https://issues.jboss.org/browse/AGPUSH-1493

On Tue, Aug 11, 2015 at 8:31 AM, Summers Pittman <supittma at redhat.com<mailto:supittma at redhat.com>> wrote:

On Tue, Aug 11, 2015 at 12:43 AM, Kelvin Lunsford <kelvin at qantel.com<mailto:kelvin at qantel.com>> wrote:
Hi Summers,

GCM topic messages go to all devices registered for the topic. Topic notifications cannot be restricted to an alias or list of aliases.

The way it worked before, and still works on ios, you can send a command to UPS with an "alias" name AND a "categories" name and it will only go to devices that have registered using that "alias" name AND that "categories" name.  UPS finds which devices meet the selection criteria and push notification requests are sent for those devices.

Requests with aliases and categories can target specific users in a group.

With real "categories" you can segment users into groups, so every device can be assigned a category, and sub-groups can be defined by using more than one category per device.  This is useful for geographic or organizational targeting.

I have no problem with GCM topics. Just make it a new feature.  Give me back my categories.

So the goal isn't to replace or hijack categories with topics. The goal is to leverage Google's API fully and transparently to the UPS user so that we make fewer calls and provide a better experience.  You have some great use cases that haven't been brought up.  Keep in mind that the PRs open right now are a "first draft" of the technology.  Feel free to join in on the discussion about topics on aerogear-dev.  It is really important we do this right and I think you can help with that.


- Kelvin

From: aerogear-users-bounces at lists.jboss.org<mailto:aerogear-users-bounces at lists.jboss.org> [mailto:aerogear-users-bounces at lists.jboss.org<mailto:aerogear-users-bounces at lists.jboss.org>] On Behalf Of Summers Pittman
Sent: Monday, August 10, 2015 6:12 PM
To: aerogear-users at lists.jboss.org<mailto:aerogear-users at lists.jboss.org>
Subject: Re: [Aerogear-users] categories have been hijacked

>On Mon, Aug 10, 2015 at 8:36 PM, Kelvin Lunsford <kelvin at qantel.com<mailto:kelvin at qantel.com>> wrote:
>Setting "categories" in the push payload was working for android and ios in cordova push plugin 1.1.1.
>For version 2.0.2 "categories" only works for ios.
>It looks like "categories" is being hijacked in android for a GCM feature called "topics".
>I liked "categories".  I was using it.  Now it's gone.  GCM topics is not a drop-in replacement.  It's not the same thing.

What do categories do that topics do not do?

>New features should get new names and new commands.
>- Kelvin

Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150817/04a9ebff/attachment-0001.html 

More information about the Aerogear-users mailing list