Automatic push notification on event

You must Login before you can answer or comment on any questions.

Hello, I'm going to develop an app which need to automatically send push notification when conditions are satisfied. I like to know if it could be possible to run a routine in ACS or if I have to setup my own backend (With Django for example).

Here is a case: In my app, there is a form for user. When they fill this form they are saying : "I'll be in this place between 8 PM to 10 PM". Of course they have choose the place in a limited list of predefined places. I like a push notification to be send when at leat 4 users have said they will be there at the right time.

I like to do the same when users have Check-in using acs check-in tangram.

Then I need to setup a routine which count etc .... and then decide to send a push notification.

I like to know which kind of "architecture" I have to setup to accomplish this task. Only use of ACS or setup a third party webserver ?

Thanks for your help.

Regards

(I apologize for my english - Feel free to ask any question if my explanations are not enough clear).

1 Answer

Short answer, you will have to develop your own thing. ACS does not provide any Business Rules Management tools in order to determine when to send a push notification or not. You will have to setup your won server (it could be using any tech inside or any language it doesn't matter.)

Your server will then be able to determine when to send push notifications and, from there, your server can contact the ACS servers using REST calls. (here is an example on how to send a notification using REST)

— answered 8 months ago by Christian Brousseau
answer permalink
2 Comments
  • Thanks a lots Christian. That's what i thought ... now I'm sure !!!

    — commented 8 months ago by Alain Abraham

  • If you feel this answered your question, don't forget to mark it as "answered" so other developers can benefit from it.

    — commented 8 months ago by Christian Brousseau

Your Answer

Think you can help? Login to answer this question!