Sign in

Realm Blog
Articles by the Realm team and community

Realm partitioning can be used to control what data is synced to each mobile device, ensuring that your app is efficient, performant, and secure. This article will help you pick the right partitioning strategy for your app.

MongoDB Realm Sync stores the superset of your application data in the cloud using MongoDB Atlas. The simplest strategy is that every instance of your mobile app contains the full database, but that quickly consumes a lot of space on the users’ devices and makes the app slow to start while it syncs all of the data for the first time. …


I have been developing for MongoDB Realm since its release in June 2020. In my opinion, this system is the only real-time database to support truly collaborative computing that is simultaneously scalable, secure, and supports offline-first capabilities.

When MongoDB Realm was initially released, it provided little to no integration with Apple’s new SwiftUI technology. This is not to say that you could not develop a SwiftUI application using Realm, only that there was no easy way to embed Realm within a SwiftUI view directly using property wrappers. …


Realm is an open-source, easy-to-use local database that helps mobile developers to build better apps faster. It launched 8 years ago with the release of the Realm Java SDK, and since then we’ve worked to make sure our API is always improving to reflect what mobile developers need.

As Kotlin has grown to become the recommended language for building Android apps, we’ve made iterative improvements to our Realm Java SDK to make sure the API is compatible. …


Apple published a great tutorial to teach developers how to create iOS apps using SwiftUI. I particularly like it because it doesn’t make any assumptions about existing UIKit experience, making it ideal for developers new to iOS. That tutorial is built around an app named “Scrumdinger,” which is designed to facilitate daily scrum meetings.

Apple’s Scrumdinger implementation saves the app data to a local file whenever the user minimizes the app, and loads it again when they open the app. It seemed an interesting exercise to modify Scrumdinger to use Realm rather than a flat file to persist the data…


In this video Dominic Frei shows how to SAVE and LOAD your data in Unity3D with Realm SDK.

Stay tuned by following @realm on Twitter. Ask a question on Forum or GitHub.


In 2020, MongoDB partnered with the WildAid Marine Protection Program to create a mobile app for officers to use while out at sea patrolling Marine Protected Areas (MPAs) worldwide. We implemented apps for iOS, Android, and web, where they all share the same Realm back end, schema, and sync strategy. This article explains the data architecture, schema, and partitioning strategy we used. If you’re developing a mobile app with Realm, this post will help you design and implement your data architecture.

MPAs-like national parks on land-set aside dedicated coastal and marine environments for conservation. WildAid helps enable local agencies to…


Jason Flax, lead engineer of Realm Cocoa team, dives into more advanced app architectures using SwiftUI and Realm. Talk covers:

  • Property wrappers
  • StateObject, ObservableObject, EnvironmentObject
  • Navigating between Views with state
  • Business Logic and Model-View-Intent Best Practices

If you missed our first SwiftUI & Realm talk, you can watch it here https://medium.com/realm/swiftui-best-practices-with-realm-ad369d50965d

Stay tuned by following @realm on Twitter. Ask a question on Forum or GitHub.


In my last post, I walked through how to integrate Realm into a mobile chat app in Building a Mobile Chat App Using Realm — Integrating Realm into Your App. Since then, the Realm engineering team has been busy, and Realm-Cocoa 10.6 introduced new features that make the SDK way more “SwiftUI-native.” For developers, that makes integrating Realm into SwiftUI views much simpler and more robust. This article steps through building the same chat app using these new features. …


Hello and Welcome to my page, I am Henna =D.

This is the second article in the series “ Getting Started with MongoDB Realm in your Android Application” and I will talk about how to implement the Realm Sync feature in your Application.

Get your Coffee and your Laptop and Let’s roll on :D

Photo by Dayne Topkin on Unsplash

If you are new to this page, you will need to set up a MongoDB Cloud account and create a Realm App. You can follow part A of Article 1 of the series on how to do that

  1. Getting Started with MongoDB Realm

I have a…


The Realm Mobile Database makes it much faster to develop mobile applications. MongoDB Realm Studio is a desktop app that lets you view, manipulate, and import data held within your mobile app’s Realm database.

This article steps through how to track down the locations of your iOS Realm database files, open them in Realm Studio, view the data, and make changes. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store