Chowlett
Chowlett

Reputation: 46675

Possible to upgrade react-native within Expo?

I have a react-native app I've developed with the latest Expo SDK, v44. That includes "react-native": "0.64.3".

As react-native 0.64 still points to the sunset service jcenter, which is experiencing intermittent downtime, I'd rather use react-native 0.65. Can I upgrade the version of react-native within the current Expo version? Is it as simple as changing the version in package.json

Upvotes: 1

Views: 1671

Answers (1)

Allan Chain
Allan Chain

Reputation: 2845

Yes, it is possible, but not easy for managed workflows. This section of Expo blog states:

Support for React Native 0.66 in expo-dev-client does not mean React Native 0.66 is supported in the managed workflow. You will need to prebuild and upgrade your project independently to use 0.66.

So if you are using managed workflow instead of bare workflow, you'd better wait for next release. This PR already upgraded RN to 0.66

Upvotes: 1

Related Questions