trigger a push notification every time a new object created

greetings ,

any one can give me a quick guidance on how can i create a trigger (maybe i have to create a business logic ) for firing a push notification every time a new object created in my table , say it is a chat app and i want to fire a notification to user who got the message from anybody , maybe my question is so basic but i don’t have any experience in server side codes thats why i have to ask it , any guidance will be so helpful for me ,
my app is based on iOS and android

thanks

Hi Billion Bucks,

You can do that by adding an event handler on the server-side. The screenshot shows how to do that:
http://support.backendless.com/public/attachments/c410be3778ed94b14e57393da2cde266.png</img>

Once you add the event handler, download the generated code/project and you will need to add the logic for sending a push notification there.

This quick start guide will give you a good overview for how creating custom event handlers works in Backendless:
https://backendless.com/documentation/business-logic/java/bl_getting_started.htm

As for the code to send a push notifications, the API is here:
https://backendless.com/documentation/messaging/android/messaging_message_publishing.htm

Regards,
Mark

hey Mark ,

thanks a lot for your effort and quick response