Skip to content

Commit

Permalink
Fixed crash by updating realm to compatible version (#421)
Browse files Browse the repository at this point in the history
According to this https://github.com/realm/realm-js/blob/main/COMPATIBILITY.md compatibility chart, Realm needed to have a higher version, this is why it was crashing on load. #415. I also noticed that just updating these versions isn't enough to make it work. I had to delete my node_modules, yarn.lock and ios folder, then reinstall and run `yarn ios` to get everything going.

Co-authored-by: Douglas Lowder <[email protected]>
  • Loading branch information
rootedsoftware and douglowder authored Oct 28, 2023
1 parent 308ca65 commit 029a79e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions with-realm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"ios": "expo run:ios"
},
"dependencies": {
"@realm/react": "^0.1.0",
"@realm/react": "^0.4.3",
"expo": "^49.0.3",
"expo-dev-client": "~2.4.6",
"react": "18.2.0",
"react-native": "0.72.3",
"react-native-get-random-values": "~1.8.0",
"realm": "^10.11.0"
"realm": "^11.7.0"
}
}

0 comments on commit 029a79e

Please sign in to comment.