언어 설정

Menu
Sites
Language
Push notification - what happens when application is not running?

In the native push API, the documentation is clear on what happens when notifications are received when the application is not running - the application is either launched from the notification, or messages are stored and can be retrieved using  Tizen::Messaging::PushManager  GetUnreadMessagesN()

However it's not clear what happens in this case using the web api, as there is no equivalent method in the PushManager object in web api. Are messages stored and delivered to the notificationCallback set by tizen.push.connectService, when the application launches? Or do stored messages need to be retrieved by some other means? Or are messages not stored at all if the application is not running?

Apologies if this question has been answered elsewhere and I have missed it!

 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

3 댓글
talari praveen kumar
Hi Alan When the application is not running the push service posts UI notification with the data. It will be delivered when a user launches the application by selecting the notification. You can find this in the push API documentation. https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.device.apireference%2Ftizen%2Fpush.html
Alan Savage
Ok thanks this is good to know; but what if the user ignores the push notification - will the data be stored and delivered the next time they launch the application via its icon, or is it lost?
Raghu Kona
Hi Alan, As the notification can be cleared only by the application, the user can view the notification later from the menu (swiping from top of the screen). Regards, Raghu Kona