Release Notes
Announcements
API | Description |
Register push service (The API must be called to use push service after obtaining user consent for the privacy policy). | |
Disable push service. | |
RegistrationID is the unique identifier of a push reception device. By default, it is automatically generated when push service registration succeeds. You can also customize settings. Based on the RegistrationID, you can push messages to specified devices. Notably, uninstalling and reinstalling the device will change the RegistrationID, so you need to call the setRegistrationID API before registering the push service. | |
After successful push service registration, you can obtain the unique identifier ID of the push reception device, namely RegistrationID, by calling the getRegistrationID API. Based on the RegistrationID, you can push messages to specified devices. |
API | Description |
Add a Push Listener. | |
Remove a Push Listener. |
API | Description |
Assign device offline push to use FCM channel, need to register push service before calling. | |
Disable pop-up notifications when the App is in the foreground. |
Parameter | Description | Access Path |
sdkAppId | The app ID assigned to you in the IM console. | ![]() |
appKey | The client key assigned to you in the IM console. | |
Parameter | Description |
registrationID | The push unique identifier ID of the device will change after uninstall reinstall. |
Parameter | Description |
enable | true: Use FCM channel. false: Use local machine channel. |
Parameter | Description |
disable | true: It is disabled. false: enable |
API | Description |
onRecvPushMessage | Received a Push message. |
onRevokePushMessage | Received a Push message recall notification. |
onNotificationClicked | Click the notification bar message Webhook. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback