Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can i still use expo after i detach my react native app?

I want to use expokit and also other native library, how can i do this?

Do i need to start my app using create-react-native-app and then detach it or can i start from react-native init app?

like image 635
Developer Avatar asked Nov 27 '17 02:11

Developer


1 Answers

If you create an app with create-react-native-app and then detach you can still use most of Expo's feature such as maps for instance.

But if you create a react native project with react-native init you won't be able to use any of expo's feature.

I started my first project with create-react-native-app but then quickly realized most libraries weren't supported by expo yet and required you to detached. After I detached tho I got into a lot of bugs when trying to link new libraries so I finally decided to make a new app from scratch with react-native init and import all my components.

I know this is a late answer by for anyone else trying to get a better understanding of this topic, I decided to write an answer and share my experience with you.

like image 113
Hugo Avatar answered Oct 13 '22 21:10

Hugo