Skip to content

Messaging for In-App Android docs and examples

Notifications You must be signed in to change notification settings

Salesforce-Async-Messaging/messaging-in-app-android

Repository files navigation

Enhanced Chat Samples

Sample usage of the Enhanced Chat Core and UI SDKs.

Core Feature Samples

UI Feature Samples

Sample Components

  • Icon - Icon for displaying the unread count.
  • Button - General purpose icon button that launches chat and displays the unread count.
  • Widget - A floating action button that launches/ends the chat and updates based on the session status, last message, queue position, and unread count.
  • ConversationList - Lists the user's conversations with the latest message and an unread counter.
  • Modal - A dismissable bottom sheet modal container for the messaging UI.

Sample Utilities

  • LifecycleResumeMessagingStreamEffect - Maintains the messaging event stream when the UI is closed. Used for receiving conversation updates.
  • MessagingSessionState - Maintains an object with the relevant data used in the sample components. This could also be done in your ViewModel instead.

Sample Usage

Demo

Samples

About

Messaging for In-App Android docs and examples

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages