settings.gradle
or settings.gradle.kts
file. Follow the steps below based on your project configuration.
libs.versions.toml
, add the CometChat Chat UI Kit version under the [versions]
section:[libraries]
section, define the library and reference the version:build.gradle.kts
file, add the dependency using libs from Version Catalogs:UID
. You can either:
cometchat-uid-1
cometchat-uid-2
cometchat-uid-3
cometchat-uid-4
cometchat-uid-5
UIKitSettings
class. It is primarily recommended for proof-of-concept (POC) development or early-stage application development.For secure authentication, use the Auth Token
method instead.CometChatTheme.DayNight
style, which is built on Theme.MaterialComponents.DayNight.NoActionBar
.
Apply the Theme
Set CometChatTheme.DayNight
as the parent theme for your application in the themes.xml
file.
FragmentManager
or Jetpack Navigation.BottomNavigationView
for fast switching between features.