React Native beta testing
Share React Native test builds with testers by install link
Build your React Native app the way you already do, with Gradle for Android and Xcode for iOS, then drop the .apk or .ipa in the box on this page. AppForShare gives you an install link and a QR code; testers open it on their phone and install the build over the air, with no store review and no extra app.
Using Expo? Builds from EAS Build can arrive on their own through Connect Expo, or with one CLI command that downloads the newest finished EAS build.
Create a free account for uploads up to 150 MB, 7-day links, passwords and version history. See plans
How to share a React Native build with testers
Step 1
Build the Android file
Run ./gradlew assembleRelease in the android folder for an APK, or ./gradlew bundleRelease for an .aab. With a free account an .aab becomes one APK testers can install.
Step 2
Build the iOS file
Archive in Xcode and export with Release Testing (ad hoc), Debugging (development) or Enterprise, or run xcodebuild -exportArchive with an ExportOptions.plist.
Step 3
Upload and share
Drop the file in the box, or run npx appforshare upload from the project. Send the install link or show the QR code.
Step 4
Testers install
Android testers allow installs from their browser once and tap Install. iPhone testers open the link in Safari; their device must be in the ad hoc profile.
Where React Native builds land
These are the folders the AppForShare CLI looks in for a React Native project. Pass a folder instead of a file and the CLI uploads the newest build in it.
| Command | File | Testers get |
|---|---|---|
| cd android && ./gradlew assembleRelease | android/app/build/outputs/apk/release/app-release.apk | The APK, installed from the link |
| cd android && ./gradlew bundleRelease | android/app/build/outputs/bundle/release/app-release.aab | One universal APK made from the .aab (free account and up) |
| xcodebuild -exportArchive | The export folder you pass, such as build/ | The .ipa, when signed ad hoc, development or enterprise |
Upload from the terminal
Pro and Team
The AppForShare CLI runs with npx, which every React Native project already has. appforshare init sees a React Native project and writes appforshare.config.json with the Android and iOS output folders; after that appforshare upload with no file sends the newest build of each platform.
export APPFORSHARE_TOKEN=afs_... # Dashboard, Settings, API tokens
(cd android && ./gradlew assembleRelease)
npx appforshare upload android/app/build/outputs/apk/release/app-release.apk --notes "New onboarding"
# or once per project, then one command for both platforms
npx appforshare init --ios build --channel beta
npx appforshare upload --ios-notes "New onboarding" --android-notes "New onboarding"React Native on GitHub Actions
Pro and Team
Build the APK in your workflow and add the AppForShare GitHub Action as the last step. It prints the install link, can put the build into a Beta channel with one link that never changes, and can fail the job when the store readiness check finds a blocker.
Prefer not to write the workflow? AppForShare GitHub builds writes one for you on your own GitHub Actions minutes, with your Node.js version and setup commands such as npm ci and pod install.
jobs:
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- run: npm ci
- run: ./gradlew assembleRelease
working-directory: android
- uses: appforshare/appforshare-action@v1
with:
file: android/app/build/outputs/apk/release/app-release.apk
token: ${{ secrets.APPFORSHARE_TOKEN }}
channel: beta
fail-on: blockedExpo and EAS Build
Pro and Team
Connect Expo gives your project a webhook address for eas webhook:create: every finished EAS internal build is then downloaded and shared with its install link, channel and commit notes, with no CI step. Or run npx appforshare upload --eas-latest on a computer signed in to Expo; your Expo sign in never leaves that computer.
Expo builds also show the Expo SDK, runtime version and update channel on the build page, with a warning when a development client build is about to go to testers.
npx appforshare upload --eas-latest --profile preview --platform androidfastlane
Pro and Team
Many React Native apps release with fastlane in the ios and android folders. Add the plugin with fastlane add_plugin appforshare and call appforshare after gym or gradle; it takes the file from there and sets the install link in the lane context.
Inside your React Native test build
Two small additions work without an SDK. The in-app feedback link opens a feedback form for the exact build and screen from a debug menu or a shake (react-native-shake), and the in-app update check asks a channel for its newest build and offers the install link. Both docs pages have React Native code to copy; keep them in test builds only.
The security scan reads the JavaScript bundle (index.android.bundle and main.jsbundle) for hardcoded secrets such as live API keys.
Every upload is checked
Every upload, also without an account, is checked for known malware right after the link is issued. A build that matches takes no installs until a person at AppForShare reviews it. AppForShare shares app builds only: it is not a general file host and not an app store.
Good to know
- Without an account a link takes 20 installs, at most 4 a day. Guest and Free builds of one app share 100 installs a month; Pro and Team have no install cap.
- iPhones install only builds signed ad hoc, development or enterprise; for an ad hoc build the tester's UDID must be in the profile.
- An .aab needs a free account; without an account upload the APK.
Questions
- How do I share a React Native app with testers without the Play Store or TestFlight?
- Build a release APK with ./gradlew assembleRelease, or export an ad hoc .ipa from Xcode, upload it on this page and send the install link. Testers install from the link on their phone, with no store listing and no review.
- Does it work with Expo?
- Yes. Upload the .apk or .ipa from an EAS internal build, use Connect Expo so builds arrive on their own, or run npx appforshare upload --eas-latest (Pro and Team).
- Can I upload the .aab from bundleRelease?
- Yes, with a free account. AppForShare turns the .aab into one universal APK signed with a test key made for your account, or with your own upload keystore on Pro and Team.
- How do I upload a React Native build from CI?
- Run npx appforshare upload with the file or the output folder, with APPFORSHARE_TOKEN set from your CI secrets (Pro and Team). On GitHub Actions use appforshare/appforshare-action@v1.
- Does AppForShare need an SDK in my app?
- No. Uploading, installing, the feedback link and the update check all work without adding a library to your app.
- Is it free?
- Yes for the first builds. Without an account you can share an APK or IPA up to 50 MB for 3 days. A free account takes up to 150 MB with 7 day links and .aab uploads. The CLI and CI uploads come with Pro and Team, and Pro starts with a 7 day free trial.
Read next
Keep your builds together
A free account raises the upload limit, groups versions into projects and adds passwords.