Use the Atlas Device SDK for Kotlin to develop Android or iOS apps using the Android platform or Kotlin Multiplatform (KMP).
Minimal-explanation code examples of how to work with the SDK. Write to the device database, and sync with other devices.
Working Example App
Learn from example by dissecting a working Kotlin client app that uses the Kotlin SDK.
Follow a guided tutorial to learn how to adapt the example app to create your own working app.
Use the SDK's open-source database - Realm - as an object store on the device. Use Device Sync to keep data in sync with your MongoDB Atlas cluster and other clients.
Explore engineering and expert-provided example projects to learn best practices and common development patterns using the Kotlin SDK. Check out the Example Projects page for more Kotlin sample apps.
Enhance user data security with property-level encryption.
Offline Login and Database Access
Log in a Device Sync user and open a synced database offline.
User's Online State
Detect connectivity and activity of users and devices.
Connection State Change & Error Handling
Learn best practices around handling Sync errors and client reset strategies.