[aerogear-dev] Geottagged notifications

Erik Jan de Wit edewit at redhat.com
Mon Feb 24 08:12:41 EST 2014


Hi Miguel,

This sounds like something we do in our aerodoc application. There the devices get registered with the alias that is the username of the logged in user, so for example a user with username john gets ‘john’ as an alias. The application monitors the location and periodically sends location changes back to our server. Then on our server we can determine  who to send the message (who is in the specified radius). Then we send, using the alias, a message to the users that match the query. Using the alias we can send to a specific user, if we want to notify all users then we can send without the alias to notify all.

Hope this helps,
	Erik Jan


On 24 Feb,2014, at 13:57 , Miguel Lemos <miguel21op at gmail.com> wrote:

> 
> This is a very important matter, as you may know.
> 
> At the present moment, i don't know how to use it with Aerogear.
> 
>  I can use a trick to do that: I send a push notification without the "alert" token and I store it silently locally (I found out that without the "alert" parameter the notification will not show in the notification tray if the app is running in the background).
> 
> Later on, I trigger the alert if the location criteria is matched (of course, I must send geo-coordinates and a radius as message parameters). Is there a more effective / logical way to do that?
> 
> Any help is welcome
> 
> Miguel
> 
> 
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev




More information about the aerogear-dev mailing list