diff --git a/guides/CONTRIBUTING.md b/guides/CONTRIBUTING.md index 06619cb636..459c28890e 100644 --- a/guides/CONTRIBUTING.md +++ b/guides/CONTRIBUTING.md @@ -91,8 +91,7 @@ To begin with, let install all dependencies: 1. `yarn` 2. `yarn submodules` -3. `(cd react-navigation && yarn prepare)` -4. `cd Example` +4. `cd Example` or `cd FabricExample` (depending on architecture you want to work on) 5. `yarn` 6. `yarn start` – make sure to start metro bundler before building the app in Android Studio @@ -108,10 +107,9 @@ To begin with, let install all dependencies: 1. `yarn` 2. `yarn submodules` -3. `(cd react-navigation && yarn prepare)` -4. `cd Example` +4. `cd Example` or `cd FabricExample` 5. `yarn` -6. `(cd ios && pod install)` +6. `(cd ios && pod install && cd ../)` 7. `yarn start` – make sure to start metro bundler before building the app in XCode. and open `react-native-screens/Example/ios/ScreensExample.xcworkspace` with XCode. diff --git a/package.json b/package.json index 6eb84b2e61..5fd8271db7 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "4.4.0-rc.0", "description": "Native navigation primitives for your React Native app.", "scripts": { - "submodules": "git submodule update --init --recursive && (cd react-navigation && yarn)", + "submodules": "git submodule update --init --recursive && (cd react-navigation && yarn && yarn build && cd ../)", "check-types": "tsc --noEmit", "start": "react-native start", "test:unit": "jest --passWithNoTests",