Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add expo to my react-native app already exists

I am working on a project already exists native base and I want to add expo to easily test my application.

like image 421
hicham kiki Avatar asked Jul 07 '26 16:07

hicham kiki


2 Answers

Expo can now be added to an existing project, run the following command for automatic installation:

npx install-expo-modules@latest

If the command fails, you can refer to the docs for manual installation instructions.

like image 136
Muhammad Khan Avatar answered Jul 10 '26 06:07

Muhammad Khan


The easiest way to do this is to make a new Expo project and copy over all the JavaScript from your existing project.

There isn't a way to react-native link expo or anything like that right now. There might be in the future but even then that wouldn't enable the easy sharing that you want. To get that you need to just use the binary code included with Expo (which can do most things you want to do).

Here is more info: https://docs.expo.io/versions/latest/introduction/faq.html#how-do-i-get-my-existing-react-native-project-running-with-expo

like image 41
theram Avatar answered Jul 10 '26 07:07

theram



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!