android-kotlin-chat-app

Introduction: Android Kotlin Chat App (Includes 100% Ready UI)
More: Author   ReportBugs   
Tags:
app-Pro-

CometChat

This is a reference application showcasing the integration of CometChat's Android UI Kit within an Android Kotlin framework. It provides developers with examples of implementing real-time messaging and voice and video calling features in their own Android-based applications.

🚀 Try the New v5 UI Kit!

Discover the all-new v5 UI Kit, featuring a completely revamped design for enhanced usability and visual appeal. With restructured components, advanced styling options, and a streamlined integration process, v5 offers a seamless, customizable experience tailored to your needs. Try it now and elevate your development workflow!

Prerequisites

  • Android Studio
  • Android Device or emulator with Android version 6.0 or above.
  • Kotlin 1.7.0 or above.
  • Sign up for a CometChat account to get your app credentials: App ID, Region, and Auth Key

Installation

  1. Clone the repository:
     git clone https://github.com/cometchat/cometchat-sample-app-android-kotlin.git
    
  2. In Android Studio, open the project cometchat-sample-app-android-kotlin

  3. Enter your CometChat App ID, Region, and Auth Key in the AppConstants.kt file:https://github.com/cometchat/cometchat-uikit-android/blob/0430695f90f962d81f06091438a6c102ec41e10f/app/src/main/java/com/cometchat/kotlinsampleapp/AppConstants.kt#L3-L11

  4. If your app is created before August 12th, 2024 then change the sample data URL to https://assets.cometchat.io/sampleapp/v1/sampledata.json in the StringConstants.kt file:https://github.com/cometchat/cometchat-uikit-android/blob/0430695f90f962d81f06091438a6c102ec41e10f/app/src/main/java/com/cometchat/kotlinsampleapp/constants/StringConstants.kt#L11-L13

  5. Run the app on a device or emulator.

Help and Support

For issues running the project or integrating with our UI Kits, consult our documentation or create a support ticket or seek real-time support via the CometChat Dashboard.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools