/ SDKs / Flutter
SDKs
Chat SDKs Flutter v3
Chat SDKs Flutter
Chat SDKs
Flutter
Version 3
Sendbird Chat SDK v3 for Flutter is no longer supported as a new version is released. Check out our latest Chat SDK v4

Overview

Copy link

Using Chat SDK for Flutter, you can send notification messages to your user's device when the device is either idle or running the client app in the background. For group channels only, notifications can be configured to display an alert, play a sound, or place a badge on the client app's icon.

Push notifications for Flutter client apps are sent using Firebase Cloud Messaging (FCM) or Apple Push Notification service (APNs), depending on users' device. When a message is sent to the Sendbird server through our Chat SDK, the server communicates with FCM or APNs with a push notification payload, which contains custom data that your app needs in order to respond to the notifications. Then, the FCM or APNs delivers a push notification to mobile devices where the client app is installed.

By default, when a user receives messages while disconnected from the Sendbird server, the server sends push notification requests to FCM for the messages, regardless of platform the user is on. This is possible because the Chat SDK automatically detects when a user's client app goes into the background from the foreground and updates the user's connection status to disconnected. Therefore, under normal circumstances, there is no need to explicitly call the disconnect() method.


Functionalities by topic

Copy link

Users can set their preferences for receiving notifications in their devices. The following is a list of functionalities that our Chat SDK provides.

Managing notifications

Copy link
FunctionalityDescriptionOpen channelGroup channel

Set up push notifications

Lets users receive FCM or APNs messages in their app.

Enable Cloud Messaging API

Enables the legacy Cloud Messaging API.

Configure notification preferences

Turns push notifications on or off in a user's app using the user's registration token.

Push notification content templates

Displays customized push notification messages on a user's device using templates.

Push notification tester

Tests push notifications on Sendbird Dashboard to see if the push notification credentials and notification services are working properly.

Push notification translation

Lets users receive notification messages translated into their preferred languages.