Skip to main content

Local notifications

The Chat SDK does not provide built-in local notification functionality. Your app must implement local notifications on its own.

tip
  • When the app enters the background but remains active, the SDK continues receiving messages through its persistent connection and triggers the message listener. Display a local notification when the listener fires. For details, see Receive messages.
  • If the system kills the app while it is in the background, the SDK disconnects, and notifications are delivered through the push channel.

Due to the nature of Community channels, your app may need to combine Do not disturb levels (see Community channel DND overview) with local notification logic for fine-grained control. The Chat SDK's DND APIs are asynchronous and read from the local database, which may introduce latency that does not meet some apps' requirements for local notification handling.

-->