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

MongoDB Atlas Device Sync (Realm) with expo in 2025 #6975

Open
joris1995 opened this issue Feb 12, 2025 · 2 comments
Open

MongoDB Atlas Device Sync (Realm) with expo in 2025 #6975

joris1995 opened this issue Feb 12, 2025 · 2 comments

Comments

@joris1995
Copy link

Hi! I’m migrating my existing react-native project into Expo. I am using Realm 11 and @realm/react 0.4.2. It will compile, but gives me a runtime error: ‘Missing Realm Constructor, Did you run pod-install?’. We have installed our dependencies using expo prebuild and later also by hand in our iOS directory.

I know realm/device sync is deprecated, and we are moving away from it, but it would be really helpful for my project to be able to migrate our existing realm setup into our new expo-managed app for some time.

The started kit that MongoDB provides seems dated and does not include any documentation.

My question: Does anyone have recent experience in bringing Realm into expo projects, and/or can anyone help me with fixing this error?

@kraenhansen
Copy link
Member

I suspect you're hitting #6933 (comment)

@joris1995
Copy link
Author

@kraenhansen I think I indeed am, however the fix suggested in #6933 does not solve my problem. Could continue the conversation here, or in the other issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants