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. https://github.com/expo/examples/issues/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.
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. https://github.com/expo/examples/issues/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.