Backendless Support
 
Answered

push notification

i need a documentation about push notification every time a new object created for android and ios , need code java script?

Leave a Comment

Comments (3)

photo
1

you can create afterCreate event handler and send push notifications, from server code:

event handlers doc: https://backendless.com/docs/bl-js/doc.html#bl_event_handlers

messaging doc: https://backendless.com/docs/js/doc.html#messaging_publish_push_notifications

photo
1

It'ok thank you very much. But how receive and get object id from push notification ?

photo
photo
1

objectId of what object do you need?

For instance:

  1. MessageStatus mst = Backendless.Messaging.publish( ); mst.getMessageId();

It is not objectId, but this id is used to get information about status of the message.