From: Younho Park Date: Thu, 11 Aug 2016 04:35:12 +0000 (+0900) Subject: [2.4][online-doc][push] Modified the image of service architecture and clarified... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0e72530f1a34107624dbe43946af9b0a60f4c0d;p=sdk%2Fonline-doc.git [2.4][online-doc][push] Modified the image of service architecture and clarified the term of push daemon Change-Id: Idfdadac8195639f1c2577a6a61dae29c46583c49 Signed-off-by: Younho Park --- diff --git a/org.tizen.guides/html/images/push_overview.png b/org.tizen.guides/html/images/push_overview.png new file mode 100644 index 0000000..1d14cea Binary files /dev/null and b/org.tizen.guides/html/images/push_overview.png differ diff --git a/org.tizen.guides/html/native/messaging/push_n.htm b/org.tizen.guides/html/native/messaging/push_n.htm index 558b452..c18f468 100644 --- a/org.tizen.guides/html/native/messaging/push_n.htm +++ b/org.tizen.guides/html/native/messaging/push_n.htm @@ -56,20 +56,20 @@

Push enables you to push events from an application server to your application on a Tizen device.

-

Once your application is successfully registered in the push server through the push daemon on the device, your application server can send push messages to the application in that particular device.

-

When a push message arrives when the application is running, it is automatically delivered to the application. If not, the daemon makes a sound or vibrates and adds a ticker or a badge notification to notify the user. By touching this notification, the user can check the message. The application server may send a message with a LAUNCH option. In this case, the daemon forcibly launches the application and hands over the message to the application as an application control.

+

Once your application is successfully registered in the push server through the push service(daemon) on the device, your application server can send push messages to the application in that particular device.

+

When a push message arrives when the application is running, it is automatically delivered to the application. If not, the push service makes a sound or vibrates and adds a ticker or a badge notification to notify the user. By touching this notification, the user can check the message. The application server may send a message with a LAUNCH option. In this case, the push service forcibly launches the application and hands over the message to the application as an application control.

To use the push messaging service, the application needs the permission to access the Tizen push server. Request the permission from the Tizen push service team by email, including the necessary information. When the team approves the request, you receive a push app ID corresponding to your package ID.

Remember to take care of security issues when sending notifications with sensitive information.

Figure: Push messaging service

-

Push messaging service

+

Push messaging service

Service Architecture

The following figure illustrates the service architecture of the Tizen push messaging service.

Figure: Service architecture

-

Service architecture

+

Service architecture

The following steps illustrate a typical scenario for using the push messaging service on a Tizen device:

  1. The application on the device registers for the push messaging service. Before you start, remember to prepare your application to use the push functionality.