0

I am trying to show a react native screen from my native(swift code) UIViewController using RCTRootView. I keep getting this mismatch error that I think is related to expo, I have tried re-registering the component in various ways, as well as setting jsCodeLocation straight to local host with no avail

Error Message.

error message

Index.js. index.js

babel-config js babel-config js

ViewController ViewController

Noel Obaseki
  • 60
  • 1
  • 4
  • 16

1 Answers1

2

npx expo install react-native-reanimated

Then inside your bable.config.js paste plugins: ['react-native-reanimated/plugin'],

https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/