How to send Push Notification from one device to another?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

I am able to send push messages from KMS console by token and device info. But I need to send it form the device for a requirement. Suppose on click of a button I need to send notification to another device (I have the token and other creds.) from the device in which button was pressed. How can I achieve that without help of a server?

Hi,

We understand your requirement KPNS is exposing a service "push message" service which will send a notification.

Here is the doc link.

http://docs.kony.com/konylibrary/messaging/engagement_api_guide/Default.htm#Push_Message_APIs/Adhoc_Push.htm%3FTocPath%3DKony%2520Fabric%2520Engagement%2520Services%2520APIs%7CREST%2520API%7CPush%2520Message%7C_____2

Thanks,

Hi, I tried this much before, but it didn't exactly worked for me. Can you share some working example or code snippet which consist some more useful information on the same?

Thanks!