Atlas Device SDK for React Native
Use Atlas Device SDK for React Native to develop iOS and Android apps with JavaScript or TypeScript.
Get Started with Realm React Native
Quick Start
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 React Native client app that uses the React Native SDK.
Guided Tutorial
Follow a guided tutorial to learn how to adapt the example app to create your own working app.
Develop Apps with the SDK
Use the SDK's open-source database - Realm - to store data on a device. Use Device Sync to keep data in sync with your MongoDB Atlas cluster and other clients.
Recommended Reading
JavaScript API Reference
Explore generated reference docs for the React Native SDK.
React Native Quick Start with Expo
Build and deploy a React Native application quickly using an
Expo template application with @realm/react
.
Example Projects
Explore engineering and expert-provided example projects to learn best practices and common development patterns using the React Native SDK. Check out the Example Projects page for more React Native sample apps.
Netflix-like Movie App
Build a Netflix-like app for browsing movies from MongoDB's Mflix sample dataset. Use multiple databases to allow users to sync and manage movies in their own private lists.
Offline Login and Database Access
Log in a Device Sync user and open a synced database offline.
Connection State Change & Error Handling
Learn best practices around handling Sync errors and client reset strategies.