Get Started
Last updated
Was this helpful?
Last updated
Was this helpful?
Before you get started: Make sure you have and obtain the APP_KEY_SECRET.
To start, open your Android project and add the following repositories to your top-level build.gradle file.
Then add the following dependency to your app-level build.gradle:
Note: In the app build.gradle file, make sure that your project is using supported Java 8 language features under the android
tag like below
In order to use TapTalkLive SDK, you must first initialize a TapTalkLive instance by passing the CONTEXT
, APP_KEY_SECRET
, CLIENT_APP_ICON
, and CLIENT_APP_NAME
assigned to your application to the init
method as a parameter. Generally, initialization is implemented in the Application class in your project.
CONTEXT
(Context) application context
APP_KEY_SECRET
: (String) application key Secret
CLIENT_APP_ICON
: (int) drawable resource ID of your application's icon
CLIENT_APP_NAME
: (String) your application name
tapTalkLiveListener
: (TapTalkLiveListener) an interface to detect TapTalkLive Android SDK's delegates and callbacks
To open TapTalkLive's view UI for your application, you can use the openTapTalkLiveView
method from the TapTalkLive class. This will open an activity containing a chat room list for your user, and will open a Create Case Form activity on top if the user is new or do not have any existing case.
You may optionally attach TapTalk Omnichannel's chat list fragment to your own activity. To obtain the chat list fragment instance, use the getCaseListFragment
method.
Note: A more complete implementation of TapTalkLiveListener callbacks can be seen in the .
Please follow the steps in page to enable TapTalk.io's chat features, such as contact sync and sending media, document, and location messages.