Message Center UI BizBundle

Last Updated on : 2024-04-01 06:25:08download

Message Center UI BizBundle provides the service logic of the message center that is supported by Tuya. The message center keeps the history of push notifications that are classified into alerts, home messages, and notifications. Alerts include device alerts and smart scene history.

On the message center settings page, users can enable or disable one or more push notifications. DND periods can be added for device alerts.

Integrate with the UI BizBundle

Create a project

Integrate Smart Life App SDK for Android into your project with Android Studio and add the framework of the UI BizBundle to your project.

Configure build.gradle of module

   dependencies {
       api enforcedPlatform("${biz_bom_version}")
       api ''
       api "${sdk_version}}"

Navigate to an unresponsive URL

Follow the instructions in Integrate with Framework to get the unimplemented route and navigate to the target page.

Open message center

  • Before the call of any API method, make sure that the user has logged in to the app.
  • If the user status is changed, you must check the availability of the Message Center UI BizBundle to reload the message center page.
UrlRouter.execute(new UrlBuilder(MainActivity.this, "messageCenter"));