Can't get Realm to work on iOS for React Native 0.58.0
See original GitHub issueCan’t get Realm to work with iOS with the new React Native 0.58.0. I tried to update from 0.57.x and the iOS project was not compiling. I tried a new project and:
Steps to Reproduce
react-native init YourProject
yarn add realm
react-native link realm
Code Sample
https://github.com/ferrannp/realm-react-native-test
Version of Realm and Tooling
- Realm JS SDK Version: 2.22.0
- React Native: 0.58.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:52
- Comments:25 (3 by maintainers)
Top Results From Across the Web
React Native version mismatch - Stack Overflow
I use rm -rf $TMPDIR/react-* to get rid of any cached builds. If that doesn't work, I try to build the app in...
Read more >Upgrading React Native to version 0.59 and beyond: a step-by ...
After the upgrade process: · Reset your simulator settings: If you're running an iOS simulator, go to Hardware > Erase all content and...
Read more >Trouble getting Realm Version 5.0.0 to Work in React-Native ...
The fix for this is simple however. Just go ahead and uninstall version 5, and then install version 4 and all shall be...
Read more >error: unable to resolve module ./node_modules/expo/appentry ...
I'm trying to use PNPM as a package manager, it actually creates ... React Native Expo errors like "None of these files exist"...
Read more >realm/my-first-realm-app: ToDo - CodeSandbox
ios. src .babelrc .buckconfig .eslintrc.json .flowconfig .gitattributes .gitignore ... metro.config.js. package-lock.json. package.json. Dependencies. react.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are working on fixing it here: https://github.com/realm/realm-js/pull/2242 No ETA yet.
react-native 0.59 is nearly here, I think it’s good to make sure the fix is runable on 0.59, at least tested on 0.59.0-rc.2 version, check if that breaks something new too