README.md
file.Kindly, click on below button to download our Android Java Chat UI Kit.Java Chat UI KitView on GithubREADME.md
file.Kindly, click on below button to download our Java Sample App.Java Sample AppView on GithubAndroid Studio
installed in your machine.
✅ You have a Android Device or Emulator
with Android Version 6.0 or above.
✅ You have read CometChat Key Concepts
APP_ID
, AUTH_KEY
and REGION
key at the top in QuickStart section or else go to “API & Auth Keys” section and copy the APP_ID
, API_KEY
and REGION
key from the “Auth Only API Key” tab.build.gradle
file in the repositories block under the allprojects
section.
build.gradle
file and follow below
Documentation
Tip
UIKitSettings.setAuthKey(String authKey) is used to pass the Auth Key to uiKit library.
region
and appID
with your credentials in the above code snippet.login()
method needs to be called only once.AUTH_KEY
with your App Auth Key in the above code snippetuikit
Module from Module Settings.( To know how to import uikit
as Module visit this link )Theme.MaterialComponents
. Follow the guide on Getting started Material ComponentsTheme.MaterialComponents.NoActionBar
build.gradle
file in the app module, as shown in the following example:
CometChatUI
class. Add the following code snippet to launch CometChatUI
.