语言

Menu
Sites
Language
Push notifications issues

Hi,

I'm facing several issues with push notifications.

 

First i'm able to successfully register / unregister to the push service.

Then i'm able to successfully send notifications to the phone.

If app is running, everything works fine : the notificationCallback registered with tizen.push.connectService(notificationCallback, errorCallback); is correcly call, and i'm able to get everything I need from the notification, including the appData value.

 

My issues are when the app is not running.

When I send a push notification, a new icon appears on the notification bar, if I send 3 notifications, 3 icons appears. 

If I click on one of the icons, the app is correctly launched but :

- var notifications = tizen.notification.getAll(); returns me all notifications except the one I clicked on.

- appData is empty an all notifications. More or less same issue than this one : https://developer.tizen.org/fr/forums/web-application-development/how-get-appdata-payload-stored-push-notifications

- the notificationCallback is not called with the notification the user clicked on.

 

So I found  no way to know on witch application notification the user clicked when the app was not running.

But maybe I'm missing something ?

 

PS : I'm working on a 2.2.1 device.

 

响应

2 回复
talari praveen kumar

Hi

This is a known issue and I have already raised a bug regarding this. Please follow it for updates

https://bugs.tizen.org/jira/browse/TDIST-411

 

Jean-Philippe Vignolo

Well, the bug is not directly related to my issues (I'm not getting any "unknown error" when registering for the push service),  but one of your comments yes.

Maybe we should open a bug that explicitly report this issue  ?