Build a Real-Time Chat App in Android with PubNub (Kotlin + MVVM) – Part 1: Introduction
By Revansiddappa Kalshetty Real-time messaging has become a critical feature in today’s mobile apps — from social networks to support systems and team collaboration tools. But building it from scratch can be challenging: server setup, websockets, message queuing, typing indicators, presence, and so much more. Luckily, you don’t have to do it all yourself. In this tutorial series, I’ll show you how to build a modern, scalable in-app chat feature for Android using Kotlin , MVVM architecture , and PubNub , a powerful platform that handles the heavy lifting of real-time infrastructure. What You’ll Build Here’s a sneak peek of the features we’ll implement in this tutorial series: Real-time messaging using PubNub Chat history with message persistence Online/offline presence tracking Typing indicators Media sharing (optional) Push notifications (optional) Secure access with PubNub Access Manager (PAM) Multi-channel & group chat support All of this will be...