Tizen Native API  4.0
Push

The Push API provides functions to receive push notifications.

Required Header

#include <push-service.h>

Overview

The Push API allows your application to receive push notifications from a push server. The push service is a client daemon that maintains a permanent connection between your device and the push server, in order to process your registration/deregistration requests and deliver push notifications to your application. If the application is connected, the push service passes the notification data over the connection. Otherwise, the push service posts a UI notification with the data. It will be delivered when a user launches the application by selecting the posting.

To receive push notifications, you need to follow the steps below:

  • Connecting to the push service
  • Registering your application
  • Getting notification data

Push notification helps your application server send data to the application on devices over an IP network even if the application is not running. Push notification may reduce battery consumption over other applications keeping its own connection to its remote application server.

capi_messaging_push_overview1.png

Service Limitation

  • Payload of a push message is limited to 4096 bytes.
  • Administrative permission is needed for your application and server to use the push service.
  • Push service does not guarantee delivery and order of push messages.
  • A device should have a valid IMEI number.