Push Notifications on Samsung Gear S3 with Tizen 2.3.2.1

Push Notifications on Samsung Gear S3 with Tizen 2.3.2.1

BY 22 Sep 2017 Native Application Development

I am working on Push Notifications for Samsung Gear S3 using Tizen Wearable Web Application. My application got Approval from the Tizen team to use the Push Notifactions. I followed the guidlines of Push Notifications and integrated the Push Notifications code in my application.

 I am able to receive RegId using 

                            tizen.push.registerService(service, registerSuccessCallback,errorCallback);

Now when i am connecting to the Push Service using below method,

                            tizen.push.connectService(notificationCallback, errorCallback);

I am not receiving any notifications. I tried on both emulator and real device (Samsung Gear S3 Class 2.3.2.1).

When i sent the push notifcation from the server , i got the success response from the push server 

Request : 

{

    “regID”: “XXXXXXXX”,

    “requestID”: “273f0307”,

    “sender”: “Madhu”, 

    “message”: “badgeOption=INCREASE&badgeNumber=1&action=ALERT&alertMessage=Hi I am a Test Notification”

}

Response :

{results“: [{regID“: “XXXXXXXXX”,requestID“: “273f0307”,statusCode“: 1000,statusMsg“: “Success”}]

}

Eventhough i am receiving success response from the Push Server its not delivering the Push Notications to the device/emulator.

Please provide the solution how can i get the push notifications deliver to my application.

 

 

Written by