Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting react native project into expo

I'm trying to do the conversion of my react-native project into Expo with the command line 'exp convert'.
And I follow the following steps:

  1. npm install -g exp

  2. then I started 'exp convert'

The problem is that execution blocks at this level in picture bellow . so I could not complete the conversion process Is there any one who can help me to solve it?

enter image description here

like image 923
Senoussaoui Ikram Avatar asked May 16 '17 19:05

Senoussaoui Ikram


People also ask

How do I run an existing React Native project with Expo?

Running your React Native applicationInstall the Expo Go app on your iOS or Android phone and connect to the same wireless network as your computer. On Android, use the Expo Go app to scan the QR code from your terminal to open your project. On iOS, use the built-in QR code scanner of the default iOS Camera app.

Is Expo good for React Native?

If you are given a project that needs rapid development, and you have picked React Native to build the cross-platform app, Expo is the best fit for you. With Expo, you can build and deploy React Native apps for both iOS and Android with ease. With Expo, you will never touch any native iOS or native Android code.

Is Expo Better than React Native?

It helps you from the creation to distribution of your React Native apps. Remember, when you are coding in Expo, you still write React Native code. But with the support of the Expo CLI and Expo Client on your smartphone. It is better to use Expo CLI if you are new to app development.

Can we use Expo AV on React Native project?

For Expo SDK < 43Yes , it's possible via react-native-unimodules where you have to install and configure it to use other expo modules in react native bare app.


1 Answers

Even this is an old question but still people are looking for better answer. Here is what they(Expo people) officially say at the moment(2019-March)

Right now, the easiest way to do this is to use expo init (with Expo CLI) to make a new project, and then copy over all your JavaScript source code from your existing project, and then yarn adding the library dependencies you have.

...

N.B. We used to maintain a tool exp convert but it is not currently working or maintained so the above method is the best way to get an existing React Native project working on Expo

You will find more details in this link - https://docs.expo.io/versions/latest/introduction/faq/#how-do-i-get-my-existing-react

like image 195
Nuwan Attanayake Avatar answered Sep 20 '22 10:09

Nuwan Attanayake