Skip to content

Commit

Permalink
Fixed crash by updating realm to compatible version
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. expo#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.
  • Loading branch information
rootedsoftware authored Apr 5, 2023
1 parent bd68019 commit 504944c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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",
"expo": "^48.0.7",
"@realm/react": "^0.4.3",
"expo": "^48.0.10",
"expo-dev-client": "~2.1.5",
"react": "18.2.0",
"react-native": "0.71.3",
"react-native": "0.71.6",
"react-native-get-random-values": "~1.8.0",
"realm": "^10.11.0"
"realm": "^11.7.0"
}
}

0 comments on commit 504944c

Please sign in to comment.