On Wed, Oct 22, 2014 at 12:56 PM, Daniel Passos <daniel(a)passos.me> wrote:
On Wed, Oct 22, 2014 at 1:34 AM, chansdad <rajnukala(a)yahoo.com> wrote:
> I am testing aerogear for a project of mine . Able to send alerts .
> Here are couple of questions
> 1. Can I send alerts based on a deviceId?
Yes and No. You can add an alias from this device on registration and send
a message to this alias.
Right! and, as a little 'work-around', you cold store the registrationID on
the alias value - That way you can send to a specific device, leveraging
the 'alias' feature ;-)
> 2. alerts is visible in the notifications panel in android . when i select
> the alert , it takes me to the app . and when the app is active displays
> alert dialog on top of the app . can i disable this? when the app is not
> active , alert is not displayed on the app screen.
> 3. Can i customize the alert as it displays on the screen.
> 4. Does aerogear support rich media notifications to be displayed on
> homescreen. If not is there a plan to add this feature?
you mean, posting HTML5 and stuff? basically, as passos said, the content
is really up to your use-case.
So, talking about android land, is not an AeroGear responsibility display
the message received from UPS.
AeroGear provides a BroadcastReceiver implementation. That
automatically handles/parse/whatever and dispatch it to one (or more)
You (I mean developer) need create and declare MessageHandler. You can
declare a MessageHandler directly in AndroidManifest or do it
Your MessageHander is responsable by display the message (or do something
in background) using the best way to this
Hope this help you
 <meta-data android:name="DEFAULT_MESSAGE_HANDLER_KEY"
android:value="[YOUR MessageHandler IMPLEMENTATION CLASS HERE]" />
> Thanks and to be honest , aerogear makes it super simple to send out
> notifications .I still need to figure out if i can send messages by
> deviceId as that is my key requirement.
Glad to know that and thanks for trying out the UPS
+1 yeah, gald to hear you like it so far :)
aerogear-dev mailing list