Release Notes
Announcements
API | Description |
Register Push Service, push information reads the configuration file timpush-configs.json in the project (this interface must be called after the App user has agreed to the privacy policy to use the push service). | |
Unregister and disable the push service. | |
RegistrationID is the unique identifier ID of the push receiving device. By default, this ID is automatically generated when the push service is successfully registered, but you can also customize the setting. You can push messages to the specified device based on the RegistrationID. Note that uninstalling and reinstalling the device will change the RegistrationID, so you need to call the setRegistrationID interface before registering the push service. | |
After successfully registering the push service, you can get the unique identifier ID of the push receiving device, that is, the RegistrationID, by calling the getRegistrationID interface. You can push messages to the specified device based on the RegistrationID. |
API | Description |
Add Push listener. | |
Remove Push listener. |
API | Description |
Specify offline push to use the FCM channel for the device. This needs to be called before registering the push service. | |
Disable the notification bar when the app is in the foreground. |
Parameter | Description | Get Path |
sdkAppId | The application ID assigned to you by the Chat console. | ![]() |
appKey | The client key assigned to you by the Chat console. | |
Parameter | Description |
registrationID | Unique ID for push notifications on the device, which may change if uninstalled and reinstalled. |
Parameter | Description |
enable | true: Use FCM channel. false: use the native channel. |
Parameter | Description |
disable | true: disable false: enable |
API | Description |
onRecvPushMessage | Received Push message. |
onRevokePushMessage | Received a notification of Push message recall. |
onNotificationClicked | Notification bar message click callback. |
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