You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `upload_debug_symbols` option defaults to `true` when not specified.
37
+
</OnboardingOption>
15
38
16
39
### Alternative Configuration Methods
17
40
@@ -23,40 +46,37 @@ For more information, read the [Sentry Dart Plugin README](https://github.com/ge
23
46
24
47
## Building Your Application
25
48
26
-
Before running the plugin, build your application with one of the following commands:
27
-
28
-
### Standard Build
29
-
30
-
```bash
31
-
flutter build apk
32
-
flutter build ios
33
-
flutter build macos
34
-
```
35
-
36
-
### Obfuscated Build (Recommended for Production)
37
-
38
-
Include the `--obfuscate` flag with the `--split-debug-info` option:
49
+
Before running the plugin, build your Flutter application with one of the following commands. Obuscated is encouraged for production builds, and will make uploading debug symbols necessary to get readable stack traces.
flutter build windows --obfuscate --split-debug-info=<output-directory>
56
+
flutter build linux --obfuscate --split-debug-info=<output-directory>
44
57
```
45
58
46
-
### Flutter Web
47
-
48
-
For Flutter Web, generate source maps:
59
+
```bash {tabTitle: Standard}
60
+
flutter build apk
61
+
flutter build ios
62
+
flutter build macos
63
+
flutter build windows
64
+
flutter build linux
65
+
```
49
66
50
-
```bash
67
+
```bash {tabTitle: Flutter Web}
51
68
flutter build web --release --source-maps
52
69
```
70
+
<Alert>
71
+
For Flutter web run `flutter build web --release --source-maps` to generate source maps.
72
+
</Alert>
53
73
54
74
## Running the Plugin
55
75
56
76
After building your application, run the plugin to upload debug symbols:
57
77
58
78
```bash
59
-
flutter packages pub run sentry_dart_plugin
79
+
flutter pub run sentry_dart_plugin
60
80
```
61
81
62
82
<Alert>
@@ -95,6 +115,20 @@ Sentry's Flutter SDK doesn't currently support the `uploadNativeSymbols` flag fr
95
115
96
116
</Alert>
97
117
118
+
## iOS and macOS dSYM Uploads
119
+
120
+
For iOS and macOS applications, you need to upload dSYM files. The Sentry Dart Plugin will automatically handle this when you build with the `--obfuscate` flag.
121
+
122
+
For non-obfuscated builds or additional configuration options, you can:
123
+
124
+
1.**Use the Sentry Cocoa script**
125
+
126
+
Follow the [Sentry Cocoa debug symbols guide](/platforms/apple/guides/ios/dsym/) to set up automatic dSYM uploads with the script.
127
+
128
+
2.**Use the Sentry CLI**
129
+
130
+
Use the [Sentry CLI](/platforms/apple/guides/ios/dsym/#upload-dsyms-with-cli) to manually upload dSYM files.
131
+
98
132
## Configuration Reference
99
133
100
134
The following table lists all available configuration options for the Sentry Dart Plugin:
@@ -125,4 +159,4 @@ The following table lists all available configuration options for the Sentry Dar
125
159
126
160
## Troubleshooting
127
161
128
-
If you encounter any issues with the Sentry Dart Plugin, refer to [Troubleshooting - Sentry Dart Plugin](/platforms/dart/guides/flutter/troubleshooting#sentry-dart-plugin) for solutions to common problems.
162
+
If you encounter any issues with the Sentry Dart Plugin, refer to [Troubleshooting - Sentry Dart Plugin](/platforms/dart/guides/flutter/troubleshooting#sentry-dart-plugin) for solutions to common problems.
The `upload_debug_symbols` option defaults to `true` when not specified.
37
+
</OnboardingOption>
15
38
16
39
### Alternative Configuration Methods
17
40
@@ -23,37 +46,30 @@ For more information, read the [Sentry Dart Plugin README](https://github.com/ge
23
46
24
47
## Building Your Application
25
48
26
-
Before running the plugin, build your Flutter application with one of the following commands:
27
-
28
-
### Standard Build
29
-
30
-
```bash
31
-
flutter build apk
32
-
flutter build ios
33
-
flutter build macos
34
-
flutter build windows
35
-
flutter build linux
36
-
```
37
-
38
-
### Obfuscated Build (Recommended for Production)
49
+
Before running the plugin, build your Flutter application with one of the following commands. Obuscated is encouraged for production builds, and will make uploading debug symbols necessary to get readable stack traces.
39
50
40
-
Include the `--obfuscate` flag with the `--split-debug-info` option:
flutter build windows --obfuscate --split-debug-info=<output-directory>
47
56
flutter build linux --obfuscate --split-debug-info=<output-directory>
48
57
```
49
58
50
-
### Flutter Web
51
-
52
-
For Flutter Web, generate source maps:
59
+
```bash {tabTitle: Standard}
60
+
flutter build apk
61
+
flutter build ios
62
+
flutter build macos
63
+
flutter build windows
64
+
flutter build linux
65
+
```
53
66
54
-
```bash
67
+
```bash {tabTitle: Flutter Web}
55
68
flutter build web --release --source-maps
56
69
```
70
+
<Alert>
71
+
For Flutter web run `flutter build web --release --source-maps` to generate source maps.
72
+
</Alert>
57
73
58
74
## Running the Plugin
59
75
@@ -143,4 +159,4 @@ The following table lists all available configuration options for the Sentry Dar
143
159
144
160
## Troubleshooting
145
161
146
-
If you encounter any issues with the Sentry Dart Plugin, refer to [Troubleshooting - Sentry Dart Plugin](/platforms/dart/guides/flutter/troubleshooting#sentry-dart-plugin) for solutions to common problems.
162
+
If you encounter any issues with the Sentry Dart Plugin, refer to [Troubleshooting - Sentry Dart Plugin](/platforms/dart/guides/flutter/troubleshooting#sentry-dart-plugin) for solutions to common problems.
Copy file name to clipboardExpand all lines: src/components/onboarding/index.tsx
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -51,14 +51,30 @@ const optionDetails: Record<
51
51
),
52
52
},
53
53
'source-context': {
54
-
name: 'Source context',
54
+
name: 'Source Context',
55
55
description: (
56
56
<span>
57
57
Upload your source code to allow Sentry to display snippets of your code next to
58
58
the event stack traces.
59
59
</span>
60
60
),
61
61
},
62
+
'dsym': {
63
+
name: 'dSYM',
64
+
description: (
65
+
<span>
66
+
Debug symbols for iOS and macOS that provide the necessary information to convert program addresses back to function names, source file names, and line numbers.
67
+
</span>
68
+
),
69
+
},
70
+
'source-maps': {
71
+
name: 'Source Maps',
72
+
description: (
73
+
<span>
74
+
Source maps for web applications that help translate minified code back to the original source for better error reporting.
75
+
</span>
76
+
),
77
+
},
62
78
opentelemetry: {
63
79
name: 'OpenTelemetry',
64
80
description: <span>Combine Sentry with OpenTelemetry.</span>,
0 commit comments