-
-
Notifications
You must be signed in to change notification settings - Fork 278
Description
Platform
Flutter Mobile Android
Obfuscation
Enabled
Debug Info
Disabled
Doctor
[✓] Flutter (Channel stable, 3.35.7, on macOS 15.6.1 24G90 darwin-arm64, locale ru-RU) [246ms]
• Flutter version 3.35.7 on channel stable at /Users/danil/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision adc9010625 (4 weeks ago), 2025-10-21 14:16:03 -0400
• Engine revision 035316565a
• Dart version 3.9.2
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, no-enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [887ms]
• Android SDK at /Users/danil/Library/Android/sdk
• Emulator version 35.2.10.0 (build_id 12414864) (CL:N/A)
• Platform android-36, build-tools 35.0.0
• ANDROID_HOME = /Users/danil/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [1 200ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16F6
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [63ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.1) [63ms]
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
[✓] IntelliJ IDEA Community Edition (version 2024.2.3) [63ms]
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 81.1.3
• Dart plugin version 242.22855.32
[✓] VS Code (version 1.106.0) [5ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.122.0
[✓] Connected device (3 available) [5,7s]
• sdk gphone arm64 (mobile) • emulator-5554 • android-arm64 • Android 11 (API 30) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.6.1 24G90 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 142.0.7444.162
[✓] Network resources [315ms]
• All expected network resources are available.
• No issues found!
Version
9.8.0
Steps to Reproduce
- A custom dio interceptor has been added that adds the response body to the breadcrumbs.
void onResponse(
Response<dynamic> response,
ResponseInterceptorHandler handler,
) {
final breadcrumb = Breadcrumb(
type: 'http',
level: SentryLevel.info,
data: {
'url': uri.toString(),
if (method != null) 'method': method,
if (headers != null) 'headers': headers,
if (queryParameters != null) 'query': queryParameters,
if (statusCode != null) 'statusCode': statusCode,
if (data != null)
'data': data,
},
);
_hub.addBreadcrumb(breadcrumb).ignore();
handler.next(response);
}- We are executing a request, the response of which is about 1 MB in size.
Expected Result
The apps does not crash!
Actual Result
The apps crash on versions of sentry packages 9.8.0.
But it works normally in version 9.7.0.
Since this happens in a production environment, there is no stack trace without obfuscation.
Are you willing to submit a PR?
No
Metadata
Metadata
Assignees
Projects
Status