Firebase App Distribution gives mobile teams a repeatable way to deliver pre-release Android and iOS builds to selected testers. This guide covers the distribution workflow, tester groups, console and CLI releases, feedback collection, CI integration, access cleanup, and a practical method for estimating whether a beta process is ready for the next release candidate.
Overview
Firebase App Distribution is designed for distributing builds outside the public app stores. A team uploads a release, assigns testers or tester groups, adds release notes, and lets invited testers install and evaluate that build. It is useful for internal QA, stakeholder review, customer pilots, and release-candidate checks.
The service does not replace your build system, source-control workflow, automated tests, crash reporting, or production release process. A dependable pipeline normally looks like this:
- Create a signed Android or iOS build from a known commit.
- Run automated checks and confirm the build is eligible for distribution.
- Upload the build through the Firebase console or Firebase CLI.
- Target a small tester group before expanding access.
- Collect structured feedback and monitor failures.
- Expire or remove obsolete releases and review tester access.
Use App Distribution alongside your existing Firebase tools. For example, the Firebase Emulator Suite testing guide can help keep backend tests out of the device-distribution loop, while the Crashlytics triage guide covers the path from a reported crash to a reproducible fix.
Platform comparison
| Area | Android | iOS |
|---|---|---|
| Typical upload | APK or, where supported by the workflow, an Android App Bundle | IPA |
| Build requirement | A build signed for the intended testing path | A correctly signed and provisioned build that testers can install |
| Tester experience | Invitation and installation flow on a compatible Android device | Invitation, device eligibility, and any required Apple trust or registration steps |
| Common failure | Wrong application ID, signing mismatch, or an unusable build artifact | Provisioning, signing, device registration, or bundle-identifier mismatch |
| Best first group | Internal QA on a small device matrix | Internal QA on approved test devices |
Exact supported formats, tester quotas, invitation behavior, and console labels can change. Treat the Firebase documentation and the current console as the final authority when a command or interface differs from this guide.
How to estimate
Before each beta build, estimate the operational effort and expected coverage rather than treating distribution as a single upload step. A simple planning model is:
Distribution effort = build preparation + release validation + tester onboarding + feedback triage + access cleanup.
Record five inputs for every release candidate:
- Platforms: Android, iOS, or both.
- Build variants: development, staging, release candidate, or another explicitly named variant.
- Tester groups: internal QA, product, support, customers, or external partners.
- Feedback scope: installation only, feature review, regression testing, performance checks, or approval.
- Release window: the date testers receive the build and the date access or feedback closes.
Then calculate coverage using a small matrix: platform, operating-system range, device class, critical feature, and assigned tester. A distribution is not complete merely because the upload succeeded. It is complete when the intended testers can install the correct build, understand what changed, and report results in a traceable way.
For recurring releases, use a readiness score with one point for each completed item: signed artifact, automated checks, release notes, tester assignment, installation verification, feedback channel, and rollback or replacement plan. A low score indicates process risk even when the Firebase upload itself succeeds.
Inputs and assumptions
Build eligibility
Start with a build made for testing, not an artifact copied from an unrelated production job. Confirm the application identifier, version and build number, signing configuration, environment variables, backend project, and feature flags. Android teams should verify that the APK or bundle corresponds to the intended application. iOS teams should verify signing, provisioning, bundle identifier, and tester-device requirements before uploading.
Keep staging data and production data separate. If the build uses Firebase services, check that its configuration points to the intended project and that security rules allow only the access the testers need. The Firebase Security Rules audit provides a useful checklist for testing these boundaries.
Tester groups and invitations
Create groups based on responsibility, not convenience. A useful starting structure is qa-internal, product-review, and external-pilot. Keep the first upload limited to the smallest group that can validate installation and critical flows. Expand only after that group confirms the build is usable.
Maintain a tester roster with email address, organization, platform, device coverage, consent or approval status, and last meaningful test date. An invitation is not proof of installation. Ask testers to confirm that they can access the release and record the device and operating-system version used.
Release notes and feedback
Use release notes that are short but operationally complete:
Build: 2.4.0 (candidate 3)
Environment: staging
Commit: <short commit SHA>
Test focus:
- Sign-in recovery
- Offline edit and resync
- Push notification settings
Known issues:
- <issue and workaround>
Feedback by: <date or milestone>
Report: <tracker, form, or team channel>Ask for steps to reproduce, expected behavior, actual behavior, device model, operating-system version, build number, screenshots or logs, and severity. If notifications are part of the test, review the Firebase Cloud Messaging troubleshooting guide before attributing a delivery problem to App Distribution.
Worked examples
Console workflow
- Open the Firebase project and select App Distribution.
- Choose the registered Android or iOS app.
- Upload the eligible artifact and wait for processing.
- Add release notes using the agreed template.
- Select an existing tester group or add individual testers.
- Review the target list and publish the release.
- Verify the invitation and installation path with one tester on each target platform.
- Record the release identifier, build number, tester group, and feedback deadline in the release tracker.
If the console rejects a file, first compare the artifact's application identifier, signing, version, and format with the app registered in Firebase. Do not solve a configuration mismatch by repeatedly uploading the same file.
CLI workflow
The Firebase CLI is useful when releases are produced by a local script or CI job. A representative command is:
firebase appdistribution:distribute path/to/app-release.apk \
--app "$FIREBASE_APP_ID" \
--groups "qa-internal" \
--release-notes-file release-notes.txtFor an iOS artifact, replace the file path with the IPA. Depending on the CLI version and project setup, you may use tester emails instead of a group, or supply release notes directly. Run firebase appdistribution:distribute --help in the environment that performs the upload and check the current Firebase CLI reference before committing flags to automation.
CI integration pattern
A safe CI job should build from a tagged or explicitly selected commit, run tests, authenticate with a secret managed by the CI provider, and upload only after the build passes. Keep project IDs, app IDs, credentials, tester groups, and release notes outside source code. For example:
set -euo pipefail
npm ci
npm test
./scripts/build-android-release.sh
firebase appdistribution:distribute build/app-release.apk \
--app "$FIREBASE_ANDROID_APP_ID" \
--groups "$FIREBASE_TESTER_GROUP" \
--release-notes-file "$CI_RELEASE_NOTES"Use separate jobs for Android and iOS when their signing systems, runners, or approval gates differ. Add a manual approval before external groups, and prevent two pipelines from publishing conflicting builds to the same release channel. If your team uses scheduled backend work or cleanup jobs, the scheduled Functions guide can help with idempotent automation patterns, although distribution access should still be managed deliberately.
When to recalculate
Revisit this distribution plan whenever a new platform, app variant, tester group, signing setup, CI runner, or release cadence is introduced. Recalculate the coverage matrix when your supported operating-system range or device mix changes. Reassess the workflow after an invitation failure, an expired release, a rejected artifact, a signing error, or a tester who cannot install a build.
Remove testers who no longer need access, retire groups that no longer represent a responsibility, and avoid leaving sensitive builds available beyond their test window. Review expired releases and cleanup rules at the end of each release cycle, while preserving the records needed to reproduce a defect.
Set a quarterly documentation review for Firebase CLI commands, supported build formats, console labels, tester limits, invitation behavior, and CI authentication. These are the inputs most likely to change. At each review, run one controlled Android upload and one controlled iOS upload, verify the onboarding path with a test account, and update your runbook if any step differs. This keeps App Distribution a repeatable deployment practice rather than a manual emergency step.