Changes
-
Windows & Linux native crash handlers: add
SENTRY_NATIVE_BACKEND
env var with default setting ofnone
. (#2522)
Native crash reporting support withsentry-native
'scrashpad
was added in v8.11.0 and has caused build-time issues
for some users, because it required newer build tools (newer versions of MSVC/Clang/GCC) than base Flutter SDK.
This broke the ability to build the app for some users compiling Windows and Linux apps with older toolchains.To avoid this issue, we're disabling the native crash handling by default for Linux and Windows for now.
You can enable it manually by setting theSENTRY_NATIVE_BACKEND=crashpad
environment variable before runningflutter build
.
You can read more about available backends that fit your use-case in sentry-native docs.We plan to change the default back to
crashpad
in the next major SDK release.