Page 1 of 1

Push notification to a range of users depending of their location

Posted: Sun Aug 03, 2014 5:45 pm
by Andre Aparcana

Hello Support,

This is for my Event app (Concerts, shows, etc)

I have a couple of questions:

  1. I will like my google map to displays all my Events location (with a pointer).

  2. I will like to send a push notification to a range of user depending of the Event location(EX. Concert, show, etc)

  3. Is there a way how to See all my user locations (people with mobile devices, using location sensor) and send them a push notification if i see they are near the area of the Event (ex.concert)?

  4. How i can save my users (mobile device location) in the data base and use that data to send a push.

    How i can make this to work?

    i will appreciate of you answer each one of my questions.

    Regards,

    Andre


Push notification to a range of users depending of their location

Posted: Mon Aug 04, 2014 6:16 am
by Maryna Brodina

Hello!

1) Please take a look here
http://devcenter.appery.io/tutorials/...

http://devcenter.appery.io/tutorials/...

2) Use filters to send push http://devcenter.appery.io/documentat...

3) Run server script on schedule http://devcenter.appery.io/documentat... or manually. This server script will send push to the specific users depending on their location.
http://devcenter.appery.io/documentat...

http://devcenter.appery.io/documentat...

4) This should help http://blog.appery.io/2014/02/buildin...


Push notification to a range of users depending of their location

Posted: Mon Aug 04, 2014 4:12 pm
by Andre Aparcana

Hello Maryna,

Thank you for the info.

One more question:

How i can send a push notification to my users near to the event?
example: a have an event currently on Bloomfield, NJ and i want to send a push notification to my users that are in bloomfield or near. (oly user in the area or near)


Push notification to a range of users depending of their location

Posted: Tue Aug 05, 2014 9:01 am
by Maryna Brodina

Hello!

Save user coordinates into localStorage in Devices collection (update them time to time to have current coordinates). When sending Push use filter to search all users close to event coordinates. Here is more information http://devcenter.appery.io/documentat...


Push notification to a range of users depending of their location

Posted: Tue Aug 05, 2014 7:21 pm
by Andre Aparcana

Maryna,

is there a java script that will allow me to update the user coordinates automatically? or for example: every hour?

if so, where should apply it?

Thanks!


Push notification to a range of users depending of their location

Posted: Wed Aug 06, 2014 6:51 am
by Maryna Brodina

Hello!

In GeolocationService set watchPosition=true and specify updating interval in maximumAge (ms). Save coordinates into localStorage, on geolocation service success event invoke Update coordinates service in Devices collection (retrieve coordinates from localStorage). http://devcenter.appery.io/documentat...