Skip to content

Commit c6c0a83

Browse files
chromyrunningcodeclaudegetsantry[bot]
authored
feat(preprod): Add build distribution docs (#15463)
## DESCRIBE YOUR PR This adds docs for mobile Build Distribution which is going into EA. Build Distribution is very similar to Size Analysis so we mostly reused or shared the existing content. We'll add more Build Distribution specific content as they land going towards GA. Fixes EME-453 ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [x] Checked Vercel preview for correctness, including links - [x] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) --------- Co-authored-by: Nelson Osacky <nelson.osacky@sentry.io> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
1 parent 4713a26 commit c6c0a83

File tree

21 files changed

+498
-103
lines changed

21 files changed

+498
-103
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Build Distribution
3+
sidebar_title: Build Distribution
4+
sidebar_order: 5250
5+
description: Upload Android builds to Sentry for distribution to internal teams and beta testers.
6+
---
7+
8+
<Include name="feature-available-for-user-group-early-adopter" />
9+
10+
[Build Distribution](/product/build-distribution) helps you securely distribute Android builds to your internal teams and beta testers.
11+
12+
## Getting Started
13+
14+
**Accepted Formats**: APK (preferred) | AAB
15+
16+
- **APK**: Distributed as uploaded. You must ensure uploaded APKs are properly signed and universal (if required) before uploading. Using a consistent signing key allows users to update previously installed builds.
17+
- **AAB (Android App Bundle)**: Build Distribution automatically converts AABs to universal APKs, but signs each upload with a unique key, which prevents users from updating previously installed builds.
18+
19+
**Upload Mechanisms**: [Gradle](#uploading-with-gradle) | [Sentry CLI](#uploading-with-the-sentry-cli)
20+
21+
### Uploading With Gradle
22+
23+
<Include name="build-distribution/upload-gradle" />
24+
25+
### Uploading With the Sentry CLI
26+
27+
<Include name="size-analysis/upload-cli-android" />
28+
29+
## Downloading Builds
30+
31+
<Include name="build-distribution/download" />
32+
33+
<Include name="build-distribution/download-android" />
34+
35+
## Upload Metadata
36+
37+
<Include name="size-analysis/upload-metadata" />
38+
39+
### Build Configuration
40+
41+
<Include name="size-analysis/upload-metadata" />
42+
43+
<PageGrid />
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Build Distribution
3+
sidebar_order: 5250
4+
description: Upload iOS builds to Sentry for distribution to internal teams and beta testers.
5+
---
6+
7+
<Include name="feature-available-for-user-group-early-adopter" />
8+
9+
[Build Distribution](/product/build-distribution) helps you securely distribute iOS builds to your internal teams and beta testers.
10+
Streamline your distribution workflow with automated uploads from CI.
11+
12+
## Getting Started
13+
14+
**Accepted Formats**: XCArchive
15+
16+
**Upload Mechanisms**: [Fastlane Plugin](#uploading-with-fastlane) (version 1.35.0 or higher) _or_ [Sentry CLI](#uploading-with-the-sentry-cli)
17+
18+
### Uploading With Fastlane
19+
20+
<Include name="size-analysis/upload-fastlane" />
21+
22+
### Uploading with the Sentry CLI
23+
24+
<Include name="size-analysis/upload-cli-ios" />
25+
26+
## Downloading Builds
27+
28+
<Include name="build-distribution/download" />
29+
30+
<Include name="build-distribution/download-ios" />
31+
32+
## Upload Metadata
33+
34+
<Include name="size-analysis/upload-metadata" />
35+
36+
### Build Configuration
37+
38+
<Include name="size-analysis/build-configuration-ios" />
39+
40+
<PageGrid />
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Build Distribution
3+
sidebar_order: 5250
4+
description: Upload Flutter builds to Sentry for distribution to internal teams and beta testers.
5+
---
6+
7+
<Include name="feature-available-for-user-group-early-adopter" />
8+
9+
<Include name="build-distribution/intro" />
10+
11+
## Getting Started - iOS
12+
13+
<Include name="build-distribution/getting-started-ios" />
14+
15+
## Getting Started - Android
16+
17+
<Include name="build-distribution/getting-started-android" />
18+
19+
## Downloading Builds
20+
21+
<Include name="build-distribution/downloading-builds" />
22+
23+
## Upload Metadata
24+
25+
<Include name="size-analysis/upload-metadata" />
26+
27+
### Build Configuration
28+
29+
<Include name="size-analysis/build-configuration-general" />
30+
31+
<PageGrid />
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Build Distribution
3+
sidebar_title: Build Distribution
4+
sidebar_order: 5250
5+
description: Upload React Native iOS and Android builds to Sentry for distribution to internal teams and beta testers.
6+
---
7+
8+
<Include name="feature-available-for-user-group-early-adopter" />
9+
10+
<Include name="build-distribution/intro" />
11+
12+
## Getting Started - iOS
13+
14+
<Include name="build-distribution/getting-started-ios" />
15+
16+
## Getting Started - Android
17+
18+
<Include name="build-distribution/getting-started-android" />
19+
20+
## Downloading Builds
21+
22+
<Include name="build-distribution/downloading-builds" />
23+
24+
## Upload Metadata
25+
26+
<Include name="size-analysis/upload-metadata" />
27+
28+
### Build Configuration
29+
30+
<Include name="size-analysis/build-configuration-general" />
31+
32+
<PageGrid />
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Build Distribution
3+
sidebar_order: 137
4+
description: Distribute app builds to internal teams and beta testers.
5+
---
6+
7+
<Include name="feature-available-for-user-group-early-adopter" />
8+
9+
Build Distribution enables you to securely distribute app builds to your internal teams and beta testers. Upload builds from CI to streamline your distribution workflow, manage access control, and track installation analytics.
10+
11+
### CI Integration
12+
13+
Integrate Build Distribution into your CI pipeline to automatically distribute builds to your teams.
14+
15+
## Upload Guides
16+
17+
You can follow the platform guides to learn how to upload builds for distribution:
18+
19+
- [iOS](/platforms/apple/guides/ios/build-distribution/)
20+
- [Android](/platforms/android/build-distribution/)
21+
22+
### Upload Metadata
23+
24+
Below is the metadata included in your build, regardless of the platform.
25+
26+
<Include name="size-analysis/upload-metadata" />
27+
28+
## Downloading Builds
29+
30+
<Include name="build-distribution/download" />
31+
32+
<PageGrid />
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
After downloading, you can install the APK directly on your Android device. You'll need to enable installing apps from unknown sources:
2+
3+
- **Android 8.0 and higher**: Navigate to the Install unknown apps system settings screen to enable app installations from your browser or file manager.
4+
- **Android 7.1.1 and lower**: Enable the Unknown sources setting in Settings > Security.
5+
6+
For more information, see [Android's documentation on unknown sources](https://developer.android.com/distribute/marketing-tools/alternative-distribution#unknown-sources).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
After downloading, you can install the build directly on your iOS device. For more information on installing enterprise apps, see [Apple's documentation on installing custom apps](https://support.apple.com/en-us/118254).
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Once builds are uploaded to Sentry, your team members and beta testers can download them through the Sentry web interface.
2+
3+
1. Open the URL printed to the console after uploading the build
4+
2. Click the **Install** button on the right side of the page
5+
6+
![Install link highlighted =400x](./images/install-link.png)
7+
8+
3. Either scan the QR code from a mobile device or click the **Download** button to download the build directly
9+
10+
![Install modal with QR code =400x](./images/install-qr.png)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Include name="build-distribution/download" />
2+
3+
### iOS
4+
5+
<Include name="build-distribution/download-ios" />
6+
7+
### Android
8+
9+
<Include name="build-distribution/download-android" />
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
**Accepted Formats**: APK (preferred) | AAB
2+
3+
- **APK**: Distributed as uploaded. You must ensure uploaded APKs are properly signed and universal (if required) before uploading. Using a consistent signing key allows users to update previously installed builds.
4+
- **AAB (Android App Bundle)**: Build Distribution automatically converts AABs to universal APKs, but signs each upload with a unique key, which prevents users from updating previously installed builds.
5+
6+
**Upload Mechanisms**: [Gradle](#uploading-android-builds-with-gradle) | [Sentry CLI](#uploading-android-builds-with-the-sentry-cli)
7+
8+
### Uploading Android Builds With Gradle
9+
10+
<Include name="build-distribution/upload-gradle" />
11+
12+
### Uploading Android Builds With the Sentry CLI
13+
14+
<Include name="size-analysis/upload-cli-android" />

0 commit comments

Comments
 (0)