When making changes to the React Native integration, it can be helpful to test them directly in the sample app we provide in the repository. However, the app is building against a production release of Flipper and not the version checked in in the repository.
In order to test against the changes you have made, you need to publish a Flipper release locally.
Publishing a Local Release
First, create a unique version number. This step is optional but is helpful to prevent accidentally testing against the wrong version.
In the top-level
gradle.properties, change the version:
./gradlew install in the root of the repository. This will
place the artifact files in your local
Using the new Release
Usually, you need to change your project to also pick up files in
As this is already done, you can directly change the
FLIPPER_VERSION to the previously used identifier
yarn android to rebuild, install and launch the RN sample app.
To test further changes, rerun the
./gradlew install and
yarn android steps.
For a quick overview, here are the two changes you need to make: