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

670 B

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.

# 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.