Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expo RN: Detach vs Eject

I currently have an app built in React Native using Expo (create-react-native-app) that needs some native code. As I understand one has two options for dropping down to pure react native, ejecting and detaching. Seeing that I have already have used a fair amount Expo API's up until this point, I must detach to ExpoKit. Is my understanding correct that if I purely eject (as opposed to detaching to ExpoKit) the current Expo tools I have used wont work?

Appreciate any feedback!

like image 581
jschuss Avatar asked Jun 06 '18 20:06

jschuss


People also ask

Should I eject my Expo app?

You should not eject if:All you need is to distribute your app in the iTunes Store or Google Play. Expo can build binaries for you in that case. If you eject, we can't automatically build for you any more. You are uncomfortable writing native code.

What does it mean to eject from Expo?

Expo is a toolchain that allows you to quickly get a React Native app up and running without having to use native code in Xcode or Android Studio. The Expo Eject Step is necessary to eject your app to install any missing native dependencies.

Can I use Expo go after eject?

Developing with Expo Go appYou can still use the Expo Go app after the eject.

How do I eject from my Expo?

You can eject expo running the command npm run eject on the console.


1 Answers

Seems that there is no difference between Expo Eject and Expo Detach - eject is just the new name used...

See https://forums.expo.io/t/ejecting-vs-detaching-to-expokit/16295/2

like image 173
Yossi Avatar answered Oct 06 '22 00:10

Yossi