Skip to content

Instantly share code, notes, and snippets.

@darth-veitcher
Created September 16, 2019 21:04
Show Gist options
  • Save darth-veitcher/37f61e20249ab046055d8b896deb840e to your computer and use it in GitHub Desktop.
Save darth-veitcher/37f61e20249ab046055d8b896deb840e to your computer and use it in GitHub Desktop.
Ejecting from Expo - notes on maintaining ReactNative

Ejecting from Expo

Remember to change app.json to have the iOS bundle and Android package definitions first before ejecting.

expo eject

# select ExpoKit

Now install pods

cd ios 
pod install --repo-update 

Run emulator

cd ..
expo start 
react-native run-ios

Add custom library

yarn add react-native-zip-archive
react-native link react-native-zip-archive
cd ios
pod install
cd ..
react-native run-ios  
@darth-veitcher
Copy link
Author

NB: If you don't specifically configure the package details in app.json then you'll be prompted for the inputs as port of the expo eject process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment