Managing Push Notifications
Kii Cloud supports the following push notification technologies:
In this guide, a push notification service such as FCM, JPush, and APNs is called a push notification network for convenience of explanation.
Push notification is a feature for informing an event that occurs on the server to the client without any explicit checking request. The client can get the notifications passively rather than fetching them actively.
If your application were to receive server events without the push notification feature, the client would constantly access the server and check the status (ref. the figure on the left). Making this checking time interval big will cause some delay in getting the status while making it small will cause various issues like increasing server load, data traffic and device battery consumption.
You can solve this issue with the push notification feature. There are various methods to implement the feature and many implementations promptly notify clients of changes on the server at a low cost by keeping connections between the server and the clients.
Kii Cloud can send a push notification when a change in a bucket occurs, another client sends a message, and so on.
Take the following steps to implement the push notification feature with the REST APIs:
Get the full picture of the related technologies by reading the following topics:
Implement functions to send push messages with the following three push notification features:
- Push to App Notification: This feature lets your mobile app know when a new event occurred in your Kii Cloud application.
- Push to User Notification: This feature lets you and your application users quickly send messages to other users.
- Direct Push Notification: This feature lets you reach your application users directly.