Decrease the Size of Your App: Although the SDK doesn't have a large footprint, you can decrease the size of your app by splitting your APK or by using ProGuard.
Authentication with the for Android for
Android: The Service Chat SDK provides an authentication mechanism that allows your users to access user-specific information in Service Cloud. To authenticate, implement two interfaces and provide an access token to the SDK.
Authenticating Using the Salesforce Mobile SDK: These instructions describe how to authenticate the Service Chat SDK using the provided authentication mechanism within the Salesforce Mobile SDK.
Check Agent Availability: Before starting a session, you can check the availability of your chat agents and then provide your users with more accurate expectations. For instance, when no agents are available, you can hide or disable the button to contact an agent
Quick Setup: Chat in the: To add Chat to your Android app, create a configuration object that points to your org and then create a Chat UI client.
Build Your Own UI with the Chat Core API: With the Chat Core API, you can access the functionality of Chat without a UI. This API is useful if you want to build your own UI and not use the default.
Use Einstein Bots with Chat: With Einstein Bots, you can complement your chat support experience with a smart, automated system that saves your agents time and keeps your customers happy. Once you've set up Einstein Bots in your org, the SDK automatically begins the chat experience using your bot. You can design your bot to transfer to an agent at any point.
Transfer File to Agent: Give users the ability to transfer files during a chat so they can share information about their issues.
Chat in the for Android for Android: Using Chat within the Service Chat SDK, you can provide real-time chat sessions from within your native app.
Show Pre-Chat Fields to User: Before a chat session begins, you can request that the user enter pre-chat fields that are sent to the agent at the start of the session.
Create or Update Salesforce Records from a Chat Session: When a chat session begins, you can create or find records within your org and pass this information to the agent. Using this technique, your agent can immediately have all the context they need for an effective chat session.
Listen for State Changes and Events: You can add listeners for state changes and events during a chat session and respond accordingly. For instance, when the client ends a session, you can display a dialog to the user.
Handle Custom URLs in Chat: Have your agents pass along custom URLs to perform specific actions in your mobile app.
SDK Customizations with the for Android for
Android: Once you’ve played around with some of the SDK features, use this section to learn how to customize the Service Chat SDK so that it fits the look and feel of your app. This section also contains instructions for localizing strings in all supported languages.
Customize Colors with the: You can customize the look and feel of the interface by specifying the colors used throughout the UI.
Error Using the Salesforce Mobile SDK with the: If you're trying to build a Service Chat SDK project that explicitly embeds the Salesforce Mobile SDK, exclude these two maven dependencies to prevent conflicts.
Push Notifications with the for Android for
Android: To take advantage of push notifications from your org to your app, set up an Apex trigger and configure your app for notifications. Pass relevant notification information, such as case feed activity, to the Service Chat SDK using your PushNotificationListener implementation.
Release Notes: Check out the new features and known issues for the Android Service Chat SDK .
Accessibility with the for Android for
Android: The Service Chat SDK is accessible to customers that use a screen reader. Depending on your needs, you can also change some settings to expand accessibility.
Customize and Localize Strings with the: You can change the text throughout the user interface. To customize text, create string resource XML files (named strings.xml) in your project's values-[locale] resource folder for the language(s) you want to update.
Get Chat Settings from Your Org: After you’ve set up chat in the console, supply your app developer with four values: the chat endpoint hostname, the organization ID, the deployment ID, and the button ID. You can get this information from your org’s setup.
Can't Connect to Chat: If you can't make a successful connection from your app, even when an agent is standing by, review how you've set up your chat implementation.
Block Sensitive Data in a Chat Session: To block sending sensitive data to agents, specify a regular expression in your org's setup. When the regular expression matches text in the user's message, the matched text is replaced with customizable text before it leaves the device.
Data Collection for the: The Service Chat SDK collects and transmits data to perform basic operations. This data falls into three categories: pre-chat data, chat message data, and logging data.
Additional Resources: If you’re looking for other resources, check out this list of links to related documentation.
Embedded Service Chat SDK for Android Developer Guide Developer Guide: The Embedded Service Chat SDK for Mobile Apps makes it easy to give customers access to powerful chat features right from within your native app. This guide helps you get started using the SDK in your mobile app.