Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Push Notification based on User's Input Schedule (NOTE: I have multiple users)

So basically, the users will have to register and log in before creating events.

Events have:

event_name
event_location
event_details
start_date
start_time
end_date
end_time

What I want to do is send a PUSH Notification to the user when the Event is about to start like lets say 1 hour before the event will start.

Is this possible? so the Scheduled Push Notification will base on:

User's - Itinerary - Start_date. I understand the Push Notification is sent to DEVICE registered and not on the Users Registered

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

Push Notification based on User's Input Schedule (NOTE: I have multiple users)

Hi Poll,

I can suggest following plan for this goal:

  1. Add to your "Events" collection "user" field(which is actually will be pointer to Users collection).

  2. Add to your "Users" collection - "DeviceID" field.(string type).

  3. Create Server code that will:
    3.1. Get all events in certain interval of time.
    3.2. Iterate through received events and send needed push to the linked user DeviceID.(see 2nd step).

  4. Set server code schedule like you need.

    See details about server code here: http://devcenter.appery.io/documentat...

    Regards.

Return to “Issues”