Git Product home page Git Product logo

android-kotlin-chat-app's Introduction

CometChat

Android Sample App by 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.

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:

    object AppConstants {
    const val APP_ID = "XXXXXXXXXXXXXXXXXX"
    const val AUTH_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    const val REGION = "XX"
    }

  4. 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.

android-kotlin-chat-app's People

Contributors

anantgarg avatar darshanbhanushali avatar ketanyekale avatar poojashivane avatar poojashivane24 avatar rohit-cometchat avatar vivekcometchat avatar yadavmangesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-kotlin-chat-app's Issues

[1.8.3] Calling not getting initiated between different version of SDK (i.e between 1.6.0 and 1.8.3)

Describe the bug
Can not initiate a call between different version of SDK 1.8.3 and 1.6.0 or vice versa

To Reproduce
Steps to reproduce the behavior:

  1. Run one app on 1.6.0
  2. Run another app on 1.8.+
  3. initiate call between the two users

Expected behavior
Call getting started

Actual behavior
Nothing happening. Call listener not getting triggered

Enviorment/Platfrom (please complete the following information):

  • Android API Version 21
  • CometChat SDK Version[1.8.3 and 1.6.0]

Logs (Error Logs)

  • No error logs
  • No exceptions are shown

Additional context
Receiving text messages but not call messages. But getting them while fetching previous
messages

Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath: class okhttp3.logging.HttpLoggingInterceptor, unresolved supertypes: okhttp3.Interceptor

implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'

implementation('com.cometchat:pro-android-chat-sdk:1.8.8') {
configurations {
compile.exclude module: 'gson'
compile.exclude module: 'okhttp'
compile.exclude module: 'okhttp3'
}
}

[2.0.0-beta2] Record Audio Button Not Working

Describe the bug
Audio record button not working properly.

To Reproduce
Steps to reproduce the behavior:

  1. Click and Hold on the Mic icon to record

Expected behavior
Record voice note.

Actual behavior
audio not recording

Enviorment/Platfrom (please complete the following information):

  • CometChat SDK Version[2.0.0-beta2]

There are many errors in UIkit-kotlin

All R.style inside uikit showing error
implementation 'com.cometchat:pro-android-chat-sdk:3.0.0'
implementation 'com.google.android.material:material:1.6.1'

Screenshot 2022-08-30 at 7 14 02 PM
Screenshot 2022-09-01 at 11 16 53 AM
Screenshot 2022-09-01 at 11 17 21 AM
Screenshot 2022-09-01 at 11 18 53 AM
Screenshot 2022-09-01 at 11 19 09 AM

Group Video calling issue

I have an issue in group video calling when i call in group more than 2 user that time i can't see other user video streaming it showing only other user profile picture so please check this

Audio Message not opening

Audio Messages are going through but it is not opening on the Recipient's phone, also on sender phone this is working when we go back and come again

Group Creation not updating Realtime

Once the Group is formed, it does not immediately come up in the Groups list. You have to click Groups to see the recently created Group: this is not updating realtime, because when we click on the group again this is showing the new group

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.