Hmm, looks like I emailed to soon. It appears I have a version mix match and that my
openshift UPS is on the 1.0.x branch and the Node sender release for that branch doesn’t
include an options object for including categories?
-Miles
From: <Fink>, mfink <mfink@email.unc.edu<mailto:mfink@email.unc.edu>>
Reply-To: AeroGear Developer Mailing List
<aerogear-dev@lists.jboss.org<mailto:aerogear-dev@lists.jboss.org>>
Date: Thursday, July 9, 2015 at 1:22 PM
To: "aerogear-dev@lists.jboss.org<mailto:aerogear-dev@lists.jboss.org>"
<aerogear-dev@lists.jboss.org<mailto:aerogear-dev@lists.jboss.org>>
Subject: [aerogear-dev] UPS Node Sender client categories issue?
Hi,
I’m just starting out with UPS (which is awesome btw!) and the Node.js sender client. One
thing I’ve noticed is that a message sent from the dashboard with a particular category is
sent to only those installations that have that category listed. This works great and is
expected. I’m glad there is a way to target specific notification channels, etc.
Sending a notification via the Node Sender client however appears to be sending to
everyone’s installation regardless of the categories sent with the message. Here’s a
pastie of what my node client call looks like:
http://pastie.org/10282358
I’m using:
Unifiedpush Node Sender version 0.8.0-beta1
UPS is the setup via the openshift cartridge, from
https://cartreflect-claytondev.rhcloud.com/reflect?github=aerogear/opensh...
Any pointers would be greatly appreciated. Very well could be me doing it wrong… ;-)
Thanks,
Miles