Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React-Native Starter Code not Working #79

Open
PriyaJainDev opened this issue Feb 13, 2025 · 1 comment
Open

React-Native Starter Code not Working #79

PriyaJainDev opened this issue Feb 13, 2025 · 1 comment

Comments

@PriyaJainDev
Copy link

PriyaJainDev commented Feb 13, 2025

Hi, I'm using React-Native version 0.76, and tried the following official example but keep getting the error (as attached in the screenshot below):

Image

I tried downgrading the React native version as per the version used in this repo, but then the app doesn't even load due to version incompatibility

"dependencies": { "@reactvision/react-viro": "^2.41.4", "react": "18.2.0", "react-native": "0.73.3" },

My app loads on the following versions, but the attached error exists:

"@reactvision/react-viro": "^2.42.0", "react": "18.3.1", "react-native": "0.76.0"

Can anyone help resolve this?

@shahbazmancho
Copy link

Most probably you have missed Linking step, also you have to use physical device not simulator

pod 'ViroReact', :path => '../node_modules/@reactvision/react-viro/ios/'
pod 'ViroKit', :path => '../node_modules/@reactvision/react-viro/ios/dist/ViroRenderer/'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants