From 9041582b6020bf1a8acd7c134d6cd3b5ca481651 Mon Sep 17 00:00:00 2001 From: zoltan-baba Date: Thu, 19 Nov 2020 16:59:00 +0100 Subject: [PATCH] Update step.yml (#10) --- step.yml | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/step.yml b/step.yml index fcc2c8b..803e36c 100644 --- a/step.yml +++ b/step.yml @@ -1,8 +1,38 @@ title: '[Beta] Expo Eject' summary: Creates Xcode and Android Studio projects for your app. description: |- - Using the The Expo Development CLI to create Xcode and Android Studio projects for your app. - **EXPO DEVELOPMENT CLI** https://docs.expo.io/versions/latest/introduction/installation#local-development-tool-expo-cli + + 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. Installing the native dependencies is done by our dedicated Steps, such as **Install missing Android SDK components** and **Run CocoaPods install**. + + ### Configuring the Step + + 1. Add the Step to your Workflow after the Step or Steps that install your app's Javascript dependencies (such as **Run npm command** or **Run yarn command**). + + 1. Set the **Working directory input field** to the value of your project directory. By default, you do not have to change this. + + 1. Specify the Expo CLI version. + + The default value is `latest` but you can specify an exact version, such as 3.0.0. + + 1. If your app uses an Expo SDK, you must provide the username and password for your Expo account! Without it, the Expo SDK imports will stop working. + + ### Troubleshooting + + If the Expo CLI used the default `--eject-method` and your SDK imports stop working, check your Expo username and password. + + Make sure that the Expo CLI version you use is compatible with your app. + + ### Useful links + + - [Expo Development CLI](https://docs.expo.io/versions/latest/introduction/installation#local-development-tool-expo-cli) + - [Getting started with Expo apps](https://devcenter.bitrise.io/getting-started/getting-started-with-expo-apps/) + + ### Related Steps + + - [Install React Native](https://www.bitrise.io/integrations/steps/install-react-native) + - [Install missing Android SDK components](https://www.bitrise.io/integrations/steps/install-missing-android-tools) + - [Run CocoaPods install](https://www.bitrise.io/integrations/steps/cocoapods-install) + website: https://github.com/bitrise-steplib/steps-expo-detach source_code_url: https://github.com/bitrise-steplib/steps-expo-detach support_url: https://github.com/bitrise-steplib/steps-expo-detach/issues