README.md
file.Kindly, click on below button to download our Kotlin Chat UI Kit.Kotlin Chat UI KitView on GithubREADME.md
file.Kindly, click on below button to download our Kotlin Sample App.Kotlin Sample AppView on Githubbuild.gradle
file in the repositories block under the allprojects
section.
build.gradle
file and
dependencies
section.android
sectioninit()
method initializes the settings required for CometChat. We suggest calling the init() method on app startup, preferably in the onCreate() method of the Application class.
APP ID
and REGION with your app’s REGION
in the above code.login()
method returns the User object containing all the information of the logged-in user.
AUTH_KEY
with your CometChat AUTH Key in the above code.
cometchat-uid-1
, cometchat-uid-2
, cometchat-uid-3
, cometchat-uid-4
and cometchat-uid-5
.
uikit-kotlin
Module from Module Settings.'Theme.MaterialComponents.NoActionBar'
'Theme.MaterialComponents.Light.NoActionBar'
Theme.MaterialComponents.DayNight.NoActionBar
Update your app theme to inherit from one of these themes, e.g.:
CometChatUI
.