Description
Requirements:
Please go through this checklist before opening a new issue
- Review the documentation
- Search for existing issues in: viromedia/viro & ViroCommunity/viro
- Use the latest ViroReact release
Environment
Please provide the following information about your environment:
- Development OS: Mac
- Device OS & Version: ios 14.7.1
- Version:
"dependencies": {
"@viro-community/react-viro": "^2.21.1",
"expo": "~42.0.1",
"expo-splash-screen": "~0.11.2",
"expo-status-bar": "~1.0.4",
"expo-updates": "~0.8.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "~0.63.4",
"react-native-gesture-handler": "~1.10.2",
"react-native-reanimated": "~2.2.0",
"react-native-screens": "~3.4.0",
"react-native-unimodules": "~0.14.5",
"react-native-web": "~0.13.12"
},
- Device(s): iphone 8
Description
I just trying to initialize my app with Expo bare work flow + @viro-community/react-viro
Reproducible Demo
you can reproduce this by following this
-
npm install --global expo-cli ( my expo-cli version is 4.11.0)
-
expo init -> select bare work flow
-
npm install
-
npm install --save @viro-community/react-viro
-
go ios/PodFile and add these lines as instructed on https://github.com/ViroCommunity/viro/blob/main/readmes/INSTALL_IOS.md
pod 'ViroReact', :path => '../node_modules/@viro-community/react-viro/ios/'
pod 'ViroKit_static_lib', :path => '../node_modules/@viro-community/react-viro/ios/dist/ViroRenderer/static_lib' -
npx pod-install
-
put some viro react code on App.js
-
npx react-native run ios ( just to check the linking work well)
-> have error
Invariant Violation: requireNativeComponent: "VRTText" was not found in the UIManager. -
run xcode, and excute with real device
->same error with 8