react-native-fast-image/docs/development.md

35 lines
670 B
Markdown
Raw Normal View History

2018-05-07 15:26:26 +00:00
# Development
For now this uses a modified cli to work around issues with symlinked packages.
This is how to start the example app so you can test code with it.
```bash
# In the repo root folder.
# Install dependencies.
yarn
# Install SDWebImage submodules.
git submodule update --init --recursive
# Link module.
yarn link
# Move to example folder.
cd ReactNativeFastImageExample
# Install dependencies.
yarn
# Link module.
yarn link react-native-fast-image
# Start packager.
yarn start
# Start the iOS app.
yarn react-native run-ios
# Start the android app.
yarn react-native run-android
# You will need to re-run those commands to re-compile native code.
```