语言

Menu
Sites
Language
Push notifications on Galaxy Active Watch 2
Hello, I have a problem receiving push notifications on my standalone app on Galaxy Watch Active 2. The registration went correctly, i have a valid registrationID and appID, the PushClient starting up goes to STATE_REGISTERED. And from my app server i can send notifications to Tizen RQM servers, and get back a success response, but on the device or the emulator i don't see anything, not the notification handler getting called. I tried both with the app running and with the app closed. My current Tizen version is 4.0.0.7. This is the notification i am sending: {"regID":"1234567890","requestID":"0000001","message":"action=ALERT?badgeOption=INCREASE&badgeNumber=1&alertMessage=Hi"} with correct regID, and appID and appSecret as headers. Currently trying to send via west europe RQM, and getting back the response with statusMsg: Success.
查看选择的答案

响应

3 回复
Mark as answer
Tizen .NET

Hi,
We couldn't find any issue with the information you shared.
Please check the following things.
    Please make sure you use '&' instead of '?' in the message you sent.

    {"regID":"1234567890","requestID":"0000001","message":"action=ALERT?badgeOption=INCREASE&badgeNumber=1&alertMessage=Hi"}
   -->
   {"regID":"1234567890","requestID":"0000001","message":"action=ALERT&badgeOption=INCREASE&badgeNumber=1&alertMessage=Hi"}

    Secondly, please put your watch on your wrist and check it out again. (Sometimes people misunderstand(?) that they have not received a push notification.)

For further analysis, we need a push app's ID you used when requesting the permission for Push service and dlog message(PUSHD, LIBPUSH, DOTNET_LAUNCHER, Tizen.Messaging.Push) 

Thanks.

Tobia Apolloni

Thank you very much, the issue was the "?" in the message syntax. I incorrectly assumed that receiving a confirm message from the servers meant that that fault must was on the receiving side.

Tizen .NET

If you have a plan to publish the app with same ID, 

Please do not leave it here.

Please send an email to tizen.net@samsung.com.