Comments (9)
Thanks, will check and re-open if issue persists.
from realm-js.
Currently, for using realm
v12 you need @realm/react
v0.5.0 or later, but we recommend using the latest @realm/react
👍
from realm-js.
Technically the fix is in this PR - https://github.com/expo/expo/blob/main/packages/expo-dev-launcher/CHANGELOG.md#362---2024-01-10 which is available in 3.x and 4.x versions of expo-dev-launcher/client
.
But I cannot upgrade to RN73 + Expo50 at the moment (which is the requirement to use 3.x versions of expo-dev-launcher/expo-dev-client). I've asked them to see if they can do patch releases on 2.x versions of expo-dev-client which is what I use with RN 72.
But for now, I have picked the fix present in expo/expo@54108e2 by using patch-package https://www.npmjs.com/package/patch-package which creates a local patch
from realm-js.
➤ PM Bot commented:
Jira ticket: RJS-2853
from realm-js.
Realm JS v12.11.0 deleted the code you're referring to and might very well resolve this issue as well 🤞 Please update to the latest version of our SDK and report back 👍
from realm-js.
May also be due to an older expo-dev-client/expo-dev-launcher used where you may be experiencing this issue that should be fixed.
from realm-js.
For expo, I will have to do a full RN upgrade from 72 to 73 or 74 probably.
On the realm side I can go for "realm": "12.6.2" -> "12.11.0" as mentioned earlier.
What about "@realm/react" version?
How are they related? Is there any compatibility table needed between @realm/react
and realm
packages?
from realm-js.
Upgrading realm did not help, had to patch expo-dev-client/launcher.
from realm-js.
had to patch expo-dev-client/launcher.
How? What did you have to do? Could you open another issue here or on the expo repo, with a description of what you're seeing and instructions on how to reproduce this?
from realm-js.
Related Issues (20)
- Revisit our workaround for flushing the microtask queue after calls from C++ into JS HOT 1
- Refactor throwing uncaught exceptions from callbacks dispatched onto the event loop from C++ HOT 1
- Error: Realm at path *** already opened with a different schema mode in React Native HOT 4
- Package path . is not exported from package HOT 5
- 'object type 'f' not found in schema' occurs when updating the application via code push appcenter HOT 4
- Remapped Property Key Not Working with Sorting HOT 1
- Keep login information persistent with 12.0.0-browser.2 HOT 3
- toJSON() serialization of BSON.ObjectId to String HOT 1
- `@realm/react`: Passing an app as a prop to `AppProvider` HOT 1
- Error: Database has an unsupported version (24) and cannot be upgraded HOT 2
- Gradle lint error with 12.10.0 and yarn errors with 12.11.1 HOT 4
- Unable to resolve "../../../realm/lib/browser$1" from "node_modules/@realm/react/dist/index.cjs" HOT 3
- Sync protocol version issue in 12.0.0-browser.2 HOT 3
- Add `useProgress` to `@realm/react` HOT 1
- Add `useProgress` to `@realm/react` HOT 4
- Improve Electron support by allowing renderer process "context isolation" and disabled "node integration" HOT 9
- Could not find realm binary when show react-native component in native iOS app HOT 1
- Realm does not build on iOS with `use_frameworks! :linkage => :static` as of version 12.12.0 HOT 11
- Add relaxed schema extensions to realm objects via dynamic API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-js.