I created a fresh app with create-react-native-app
, and immediately updated the Expo SDK to 29.0.0
using these instructions.
One of the instructions is to set "react-native": "https://github.com/expo/react-native/archive/sdk-29.0.0.tar.gz"
in package.json
. This version of Expo specifically uses React Native 0.55.4
as per this table.
Yet when I yarn install
I get dependency warnings like these:
warning "expo > react-native-maps@0.21.0" has incorrect peer dependency "react-native@^0.51 || ^0.52 || ^0.53 || ^0.54".
warning "expo > react-native-reanimated@1.0.0-alpha.3" has incorrect peer dependency "react-native@^0.44.1".
I guess I'm confused as to how I could possible fix these if Expo needs one version of React Native, and a dependency of Expo needs a conflicting version.
How do you address these sorts of conflicts in general? Most of the advice I've gotten is "if your app works, ignore them". Is that actually the accepted approach?