MongoDB.live, free & fully virtual. Register Now MongoDB.live, free & fully virtual. Register Now

Can Realm databases be shared between React Native and Swift/Kotlin modules (bridged) in the same app?

Greetings!

Am I able to create a realm database file in a React Native app, and write to it from React Native, but then also access that same realm database file from a Native Swift module that we bridge to from React Native? I don’t see any docs around this, but could it be as simple as reading / writing to the same Realm database path from both React Native and Swift sides?

In general, are there any docs or blog posts anyone knows of that has info on using Realm in a React Native app that bridges out to native Swift and Kotlin modules?

Thanks!