Skip to content

Expo bare + viroReact getting this error on ios -> requireNativeComponent: "VRTText" was not found in the UIManager.  #52

Closed
@byyoungjin

Description

@byyoungjin

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: ios 14.7.1
  3. 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"
  },
  1. Device(s): iphone 8

Description

I just trying to initialize my app with Expo bare work flow + @viro-community/react-viro

But keep getting these error

Reproducible Demo

you can reproduce this by following this

  1. npm install --global expo-cli ( my expo-cli version is 4.11.0)

  2. expo init -> select bare work flow

  3. npm install

  4. npm install --save @viro-community/react-viro

  5. 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'

  6. npx pod-install

  7. put some viro react code on App.js

  8. npx react-native run ios ( just to check the linking work well)
    -> have error
    Invariant Violation: requireNativeComponent: "VRTText" was not found in the UIManager.

  9. run xcode, and excute with real device
    ->same error with 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions