Skip to content

Commit 1808b3e

Browse files
buenaflorantonpirker
authored andcommitted
flutter: update v9 migration doc (#14076)
Add more info to the migration that makes it easier to troubleshoot if an error happens
1 parent 4c07ae7 commit 1808b3e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,15 @@ options.beforeSend = (event, hint) {
7070

7171
Native crash handling is now enabled by default for Flutter Desktop.
7272
Windows ARM64 uses [breakpad](https://chromium.googlesource.com/breakpad/breakpad) and all other desktop platforms use [crashpad](https://chromium.googlesource.com/crashpad/crashpad).
73-
You can disable this feature by setting the `SENTRY_NATIVE_BACKEND` environment variable to an empty string.
73+
You can disable this feature by setting the `SENTRY_NATIVE_BACKEND` environment variable to "none". e.g `export SENTRY_NATIVE_BACKEND=none`
74+
75+
<Alert>
76+
77+
On Linux, compiling your Flutter Desktop app with the crashpad backend can fail if your clang toolchain is out of date.
78+
- Update your clang to the latest version, then try again.
79+
- If you still encounter errors, please file an issue on our [Sentry Dart GitHub repository](https://github.com/getsentry/sentry-dart/issues/).
80+
81+
</Alert>
7482

7583
### Flutter Web
7684

0 commit comments

Comments
 (0)