Skip to main content

📦 2. Builds

Builds Requirements

To test your app with Sherlo, you need to prepare builds that:

  • include Storybook (with completed setup)
  • include bundled JavaScript
  • are runnable on emulators (Android - .apk, iOS - .app)

Preparing Builds

Build scripts

Add the following scripts to your package.json:

  • build:android - builds Android
  • build:ios - builds iOS
package.json
{
"scripts": {
"build:android": "react-native run-android --mode Release",
"build:ios": "react-native run-ios --mode Release --buildFolder app",
// ...
},
// ...
}

Builds location

After running the scripts, builds can be found at:

  • Android: android/app/build/outputs/apk/release/app-release.apk
  • iOS: ios/app/Build/Products/Release-iphonesimulator/[YourProject].app