Earl Reed
Posts: 0
Joined: Sun Oct 06, 2013 7:48 pm

How do you trigger a Push notification based on the goe-location of device?

Help need with setting up geo-location push notification... is there a sample code somewhere?

Kevin Preston
Posts: 0
Joined: Wed Oct 09, 2013 12:18 pm

How do you trigger a Push notification based on the goe-location of device?

I don't know for sure but I suspect Earl is asking about the ability to geo-target push notifications i.e. send a push only to devices in a specific area. This facility is offered by Pushwoosh for example. Is it something that you are likely to implement?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How do you trigger a Push notification based on the goe-location of device?

Push based on location is coming in early November.

Pierre Martins
Posts: 0
Joined: Fri Sep 05, 2014 8:04 am

How do you trigger a Push notification based on the goe-location of device?

Hi All,
I'm new to Appery.io but I'm already very impressed.
Sorry to come back to this old thread but I do have the same the question.

How can trigger push notifications only to devices in a specific area ? (and possibly coupling this with other criteria in the DB or Time frame)

The Sequence action would be:
I do post (as admin) a message to be received only at a given location
User of my app getting in the specified area would receive the push a the moment they get in.

Is it always scheduled for November ?

Will that impact the prototype of the push API ? (like providing location target, distance, timeframe during which the notification will be pushed) or something like that ?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How do you trigger a Push notification based on the goe-location of device?

Hi Pierre,

Unfortunatly you can not send directly push notifications to the chosen location area.

But you can implement this:

  1. Get user position and store it in users collection also you need store here "deviceId".

  2. Implement server script logic to send push to location area. This script should get all users from Users collection. Filter them by goal location. Then send push to devices in these items.

    Here is how to use server code: http://devcenter.appery.io/documentat...

    Regards.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How do you trigger a Push notification based on the goe-location of device?

Hi Pierre, just to add to what Yuriy said -- you can use query in push notifications view in app builder by geolocation, you can read more about how to add filter here.

And more information and examples of geolocation here.

Pierre Martins
Posts: 0
Joined: Fri Sep 05, 2014 8:04 am

How do you trigger a Push notification based on the goe-location of device?

Hi Yurii and Illya, thanks you for this lightning speed response. I will get into this.

Return to “Issues”