Skip to content

Instantly share code, notes, and snippets.

@bookercodes
Last active April 29, 2019 21:01
Show Gist options
  • Save bookercodes/c930d9005bd497c133b1bdf09b4f6be2 to your computer and use it in GitHub Desktop.
Save bookercodes/c930d9005bd497c133b1bdf09b4f6be2 to your computer and use it in GitHub Desktop.

Android Chat App with Kotlin Example

Read the full tutorial here:

>> Build a modern Android chat app with Kotlin

This example shows how to build an anonymous group chat with Kotlin:

<SCREENSHOT - PLEASE ENSURE SCREENSHOTS LIVE IN A /screenshots FOLDER>

Technology

This demo uses:

  • CometChat Pro Kotlin 0.10
  • Kotlin
  • ?

Running the demo

To run the demo follow these steps:

  1. Head to CometChat Pro and create an account
  2. From the dashboard, create a new app called "Kotlin Group Chat"
  3. One created, click Explore
  4. Go to the API Keys tab and click Create API Key
  5. Create an API key called "Kotlin Group Chat Key" with Full Access
  6. Download the repository here or by running git clone https://github.com/cometchat-pro-samples/kotlin-group-chat.git and open it in Android Studio
  7. Update strings.xml with your newly-created appID and apiKey
  8. Run the app and login with one of the test users: superhero1, superhero2, superhero3, superhero4 or superhero5

Questions about running the demo? Open an issue. We're here to help ✌️

Useful links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment