universe11
universe11

Reputation: 1063

how can I update the newest react-native-reanimated version with expo?

how can I update the newest react-native-reanimated version with expo ?

if I write this:

npx expo install react-native-reanimated

then I dont get the latest reanimated version

Upvotes: 0

Views: 4312

Answers (2)

Eugene Nagorny
Eugene Nagorny

Reputation: 1666

Expo still may warn you to use the defined reanimated version. To fix this it is possible to instruct it to ignore it specifically by modifying package.json

  "expo": {
    "install": {
      "exclude": [
        "react-native-reanimated"
      ]
    }
  }

source: https://docs.expo.dev/more/expo-cli/#configuring-dependency-validation

Upvotes: 0

Ferry Kranenburg
Ferry Kranenburg

Reputation: 2635

Run npm install react-native-reanimated for the latest or change package.json yourself and run npm install afterwards. Remember that expo has ben tested against fixed versions of reanimated, so you will get warnings from expo if you upgrade it yourself.

Upvotes: 1

Related Questions