Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to ccess realm-js realms from other native modules? #1287

Closed
thatjuan opened this issue Sep 8, 2017 · 2 comments
Closed

How to ccess realm-js realms from other native modules? #1287

thatjuan opened this issue Sep 8, 2017 · 2 comments

Comments

@thatjuan
Copy link

thatjuan commented Sep 8, 2017

Disclaimer: I tried StackOverflow but the question got downvoted for not being "about programming" 🙄

Goals

I want to read/write to the same realm from both the JS context of React Native and from native modules. Specifically native modules written in Swift.

Expected Results

I should be able to import RealmSwift from my React Native swift native module and be able to perform rw operations on the same realm I'm working with on the JS side of the app.

Actual Results

The app crashes if RealmSwift is installed via CocoaPods. I also suspect I would have to use a RealmSwift distribution that matches the version of Realm Core that realm-js uses, and I'm unsure how to accomplish that.

Version of Realm and Tooling

  • Realm JS SDK Version: 1.10.3
@kneth
Copy link
Contributor

kneth commented Sep 12, 2017

We have an open issue on CocoaPods: #884.

@kneth
Copy link
Contributor

kneth commented Sep 15, 2017

I am closing as I believe #884 is tracking it.

@kneth kneth closed this as completed Sep 15, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants