Skip to content

Commit 16dc116

Browse files
romtsncursoragentgetsantry[bot]buenaflor
authored
chore(flutter): Add missing options to download sentry-wizard for getting started page (#14120)
The Flutter onboarding documentation in `docs/platforms/dart/guides/flutter/index.mdx` was updated to align with Android's `sentry-wizard` installation methods. Previously, only `brew` and `npx` options were available, which limited support for Windows users and forced the use of JavaScript tooling. Changes include: * Adding five new `sentry-wizard` installation methods: macOS (Intel/x64, Apple Silicon/arm64), Linux (x64, arm64), and Windows (PowerShell). This provides direct binary downloads, addressing platform compatibility. * Updating the introductory text to explicitly recommend the [Sentry Wizard](https://github.com/getsentry/sentry-wizard) and linking to its GitHub repository. * Refining the post-installation description for consistency with Android documentation, clarifying the project patching process and manual setup options. These updates ensure comprehensive platform coverage and offer native tooling alternatives, improving accessibility for Flutter developers across various operating systems. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlobuenaflor97@gmail.com>
1 parent a349edd commit 16dc116

File tree

3 files changed

+42
-8
lines changed

3 files changed

+42
-8
lines changed

docs/platforms/android/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,35 +59,35 @@ npx @sentry/wizard@latest -i android
5959
```
6060

6161
```bash {tabTitle:macOS (Intel/x64)}
62-
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-darwin-x64"
62+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-darwin-x64"
6363
curl -L $downloadUrl -o sentry-wizard
6464
chmod +x sentry-wizard
6565
./sentry-wizard -i android
6666
```
6767

6868
```bash {tabTitle:macOS (Apple Silicon/arm64)}
69-
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-darwin-arm64"
69+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-darwin-arm64"
7070
curl -L $downloadUrl -o sentry-wizard
7171
chmod +x sentry-wizard
7272
./sentry-wizard -i android
7373
```
7474

7575
```bash {tabTitle:Linux (x64)}
76-
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-linux-x64"
76+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-linux-x64"
7777
curl -L $downloadUrl -o sentry-wizard
7878
chmod +x sentry-wizard
7979
./sentry-wizard -i android
8080
```
8181

8282
```bash {tabTitle:Linux (arm64)}
83-
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-linux-arm64"
83+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-linux-arm64"
8484
curl -L $downloadUrl -o sentry-wizard
8585
chmod +x sentry-wizard
8686
./sentry-wizard -i android
8787
```
8888

8989
```powershell {tabTitle:Windows}
90-
$downloadUrl = "https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-win-x64.exe"
90+
$downloadUrl = "https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-win-x64.exe"
9191
Invoke-WebRequest $downloadUrl -OutFile sentry-wizard.exe
9292
./sentry-wizard.exe -i android
9393
```

docs/platforms/dart/guides/flutter/index.mdx

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,52 @@ Select which Sentry features you'd like to install in addition to Error Monitori
3838

3939
Sentry captures data by using an SDK within your application's runtime. These are platform-specific and allow Sentry to have a deep understanding of how your application works.
4040

41-
To install, run `@sentry/wizard`:
41+
We recommend installing the SDK through our [Sentry Wizard](https://github.com/getsentry/sentry-wizard) by running one of the following commands inside your project directory:
4242

4343
```bash {tabTitle:brew}
4444
brew install getsentry/tools/sentry-wizard && sentry-wizard -i flutter
4545
```
4646

47+
```powershell {tabTitle:Windows}
48+
$downloadUrl = "https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-win-x64.exe"
49+
Invoke-WebRequest $downloadUrl -OutFile sentry-wizard.exe
50+
./sentry-wizard.exe -i flutter
51+
```
52+
53+
```bash {tabTitle:macOS (Intel/x64)}
54+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-darwin-x64"
55+
curl -L $downloadUrl -o sentry-wizard
56+
chmod +x sentry-wizard
57+
./sentry-wizard -i flutter
58+
```
59+
60+
```bash {tabTitle:macOS (Apple Silicon/arm64)}
61+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-darwin-arm64"
62+
curl -L $downloadUrl -o sentry-wizard
63+
chmod +x sentry-wizard
64+
./sentry-wizard -i flutter
65+
```
66+
67+
```bash {tabTitle:Linux (x64)}
68+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-linux-x64"
69+
curl -L $downloadUrl -o sentry-wizard
70+
chmod +x sentry-wizard
71+
./sentry-wizard -i flutter
72+
```
73+
74+
```bash {tabTitle:Linux (arm64)}
75+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-linux-arm64"
76+
curl -L $downloadUrl -o sentry-wizard
77+
chmod +x sentry-wizard
78+
./sentry-wizard -i flutter
79+
```
80+
4781
```bash {tabTitle:npx}
4882
npx @sentry/wizard@latest -i flutter
4983
```
5084

51-
[Sentry Wizard](https://github.com/getsentry/sentry-wizard) will patch your project accordingly, though you can [set up manually](/platforms/dart/guides/flutter/manual-setup/) if you prefer. You only need to patch the project once. Then you can add the patched files to your version control system.
85+
This will patch your project and configure the SDK. You only need to patch the project once, then you can add the patched files to your version control system.
86+
If you prefer, you can also [set up the SDK manually](/platforms/dart/guides/flutter/manual-setup/) or follow the instructions below to adapt the [configuration](#configure).
5287

5388
<Expandable title="The following tasks will be performed by the Sentry Wizard">
5489

docs/platforms/dart/guides/flutter/manual-setup.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ Future<void> main() async {
5151
options.profilesSampleRate = 1.0;
5252
// ___PRODUCT_OPTION_END___ profiling
5353
// ___PRODUCT_OPTION_START___ logs
54-
5554
// Enable logs to be sent to Sentry
5655
options.enableLogs = true;
5756
// ___PRODUCT_OPTION_END___ logs

0 commit comments

Comments
 (0)