Install Skara Chat SDK to communicate with your Customer on your Android app. Salesmate Chat for Android supports API 21 and above. Click here to learn about navigation to Android - Installation in Salesmate.Documentation Index
Fetch the complete documentation index at: https://support.getskara.ai/llms.txt
Use this file to discover all available pages before exploring further.
Note: We recommend using the latest available
compileSdkVersion.Topics covered:
Install Skara Chat SDK
If you’re new to Salesmate Chat, you’ll need to Configure the Skara Chat in your Skara account. Then you have three options:- Option 1: Install Skara Chat SDK with Firebase Cloud Messaging (FCM)
build.gradle file:
- Option 2: Install Skara Chat SDK without Push Messaging
Important: If you choose this method you won’t be able to send push messages.
Jitpack Salesmate Chat SDK is hosted on jitpack. You will need to add jitpack.io to your root build.gradle file.
Permissions- We include the INTERNET permission by default as we need it to make network requests:
- You will need to include the READ_EXTERNAL_STORAGE permission if you have enabled image attachments:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
Initialize Salesmate Chat
- First, you’ll need to get your Skara Chat App key, Workspace Id, and Tenant Id. To find these, just select the ‘Android Tab’ option in your Skara CRM Messenger Settings Installation section.

- Then, initialize Skara Chat SDK by calling the following in the
onCreate()method of your application class:
Note: If you don’t currently implement a custom application, you’ll need to create one. A custom application looks like this:
- You’ll need to update your manifest to use your application:
<application android:name=".CustomApplication"> </application>
Login a User
- You’ll now need to log in to users before you can communicate with them and track their activity in your app.
- Login your users (to talk to them and see their activity)
- Depending on your app type, you can log in to users. Here are the instructions :
- Here we will create a user with basic user detail in Skara CRM Messenger.
- If you have an app with logged-in (identified) users only (like Facebook, Instagram or Slack), follow these instructions:
- You’ll also need to log in to your user anywhere they sign in. Just call:
How to Logout a User
- When users want to log out of your app, simply call logout like so: