英語 での The push notification の使用例とその 日本語 への翻訳
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Programming
Initializing the push notification feature The web app receives responses from the thing via push notification, which is provided by MQTT over WebSocket.
If you use the push notification feature only, you do not need to develop a process to receive the SUBSCRIBE command or to send the PUBLISH command.
You can customize the push notification as you wish, by selecting on/off on your app setting.
If you are going to leverage the push notification feature, use the Cordova's phonegap-plugin-push to configure the push notification features with FCM and APNs.
When designing and implementing the push notification feature, ensure that your mobile app does not cause an infinite loop of push notifications. .
Did you get the push notification successfully? If you did not receive the push notification, check JPush Troubleshooting and solve the issue.
Adding the initialization completion handler We will implement the logic to finish the push notification initialization in the MainActivity's BroadcastReceiver.
Enabling the Kii Push Notification Feature If your mobile app requires the push notification feature, follow the steps described in this topic.
MainActivity The push notification feature should be initialized in this class at proper timing, such as when the app screen is processed.
This tutorial covers how to create a new Android app and integrate the push notification feature with FCM(Firebase Cloud Messaging).
By adding the dedicated plugin, you enable both of the features of the Kii Cloud SDK for JavaScript and the push notification feature.
Please don't confuse the push notification, the notification type and visual notification, this last correspond to an Android class(commonly NotificationCompat).
When you get a push message from Kii Cloud with the MQTT's PUBLISH command, the detail information of the push notification will be set in its payload(in JSON format with the maximum size of 4096 bytes).
Check how to initialize the push notification feature on the platform of your mobile app Android, iOS, or JavaScript that will receive push notifications triggered by the subscriptions and push messages set with the REST API.
In one embodiment, the relay response can be sent directly to the client device B1 2615(bypassing the push notification service 640).
Then, the payload(JSON string) of the received push message can be interpreted according to the specification of the push notification feature of Kii Cloud.
When leveraging the push notification features with a smartphone or tablet, a device is registered with a target user being logged in. During the registration, an access token of this user is sent to Kii Cloud.