Skip to content

Warning: React Native is no longer supported #3517

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

Open
boycce opened this issue Apr 17, 2025 · 2 comments
Open

Warning: React Native is no longer supported #3517

boycce opened this issue Apr 17, 2025 · 2 comments

Comments

@boycce
Copy link

boycce commented Apr 17, 2025

My colleague and I have attempted to get a basic React Native example working without any success. Here is my process of attempting to follow the React Native example in the Readme.

Example project: https://github.com/boycce/r3f-native-example

/**
 * Dependencies:
 *  - @react-three/fiber    8.18.0
 *  - react                 18.3.1
 *  - react-native          0.76.9
 *  - three                 0.175.0
 *  - expo                  52.0.46
 *  - expo-gl               15.0.5
 */

Steps:

  1. npm i expo-cli -g
  2. expo init my-app
  3. npm install three @react-three/fiber@8 (react 18 already installed from expo init)
  4. Copied over the App setup into App.js
  5. npx expo start

I then received the following error:

Unable to resolve "expo-gl" from "node_modules/@react-three/fiber/native/dist/react-three-fiber-native.cjs.prod.js"

  1. npm i expo-gl
  2. I then attempt to start it again and it shows a blank screen on Expo Go on my iPhone

Incorrect Readme:

Image

If React Native is supported, could a maintainer please add a working example or an updated Expo Snack using React 18

@boycce
Copy link
Author

boycce commented Apr 17, 2025

Related #3399 (comment), it seems Expo 52 is not currently supported

@gmenih
Copy link

gmenih commented Apr 24, 2025

@boycce are you able to get it working in older versions? That doesn't seem to work for me either - at least, when starting from create-expo-app, and then downgrading.

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