kotlin-pusher-chat
Chat app for Android made with Kotlin and Pusher. Follow the tutorial here.
Getting Started
- Clone this repository.
- Create a Pusher app.
- Enter your Pusher app information in
api/src/main/kotlin/com/example/demo/MessageController.kt
and inandroid/app/src/main/java/com/pusher/pusherchat/ChatActivity.kt
. - In a terminal window, go to the API directory and execute
gradlew bootRun
to start the API server. - Open the app with Android Studio.
- Build the project and run it on two emulator.
- Choose an username and start sending messages
Prerequisites
- Android Studio 3.1.2
- MinSdkVersion: 15
- TargetSdkVersion: 27
- buildToolsVersion: 27.1.1
- Pusher account
Built With
- Pusher - APIs to enable devs building realtime features
Acknowledgments
- Thanks to Pusher for sponsoring this tutorial.
LICENSE
MIT