Enabling the Kii Push Notification Feature

If your mobile app requires the push notification feature, follow the steps described in this topic. You can skip this topic now if you need to complete other features first.

Kii Cloud SDK for Android supports Firebase Cloud Messaging (FCM) and JPush as push notification technologies. To choose the better service, see Overview of Push Technologies for Android.

The push notification feature with FCM is unavailable if the server location of your Kii application is China (Site.CN3) or if end-users are located in China.

Taking the push notification tutorial

The push notification tutorial in this documentation site is helpful to understand complex configuration and implementation required for push notification.

In the tutorial, you build a mobile app for testing by completing the following tasks. The outcome of the tutorial can be used as a skeleton of your mobile app.

  1. Register a project for push notification: Create a project in the Firebase console or the JPush management console and register issued keys in the developer portal.

  2. Configure the build environment: Configure the libraries and permissions required for push notification in the build environment.

  3. Implement and test your program: Add the initialization process and the handler for push notifications in your mobile app and try to send a push notification.

Take either of the tutorials below according to your push notification network. You can skip completed steps such as adding the Kii Cloud SDK to the development project.

If you further continue to implement the push notification feature after the tutorial, see Managing Push Notifications. For more information about the device installation in the initialization process, see Implementing the Initialization and Reception Processes.