sentry-flutter-sdk
Audited by Runlayer on Mar 6, 2026
Risky tool definition detected
-maxdepth 3 \( -name "go.mod" -o -name "requirements.txt" -o -name "Gemfile" -o -name "*.csproj" \) 2>/dev/null | grep -v flutter | head -10 # Detect platform targets ls android/ ios/ macos/ linux/ windows/ web/ 2>/dev/null ``` **What to determine:** | Question | Impact | |----------|--------| | `sentry_flutter` already in `pubspec.yaml`?
Tool passed security scan
Risky tool definition detected
Description: is the root widget | | ANR false positives on slow devices | Increase `anrTimeoutInterval` above 5000ms | | Events missing user/tag context | Set context before error occurs via `Sentry.configureScope()`; native crashes read scope at crash time | | Too many events in dashboard | Lower `sampleRate` (last resort) or use `beforeSend` to drop low-value errors |
Tool passed security scan
Risky tool definition detected
| | Metrics appear intermittently | Expected — metrics are batched and flushed on a schedule.
Risky tool definition detected
Tool: sentry-flutter-sdk/references/tracing.md [2/2] Description: } catch (e, st) { span.throwable = e; span.status = const SpanStatus.notFound(); rethrow; } finally { await span.finish(); } ``` ### Attach Data to Spans ```dart transaction.setData('user_id', userId); transaction.setData('items_count', 42); transaction.setData('currency', 'USD'); // Supported types: String, int, double, bool, List ``` ### Dynamic Sampling with Context ```dart final transaction = Sentry.startTransaction( 'processP
Tool passed security scan
Risky tool definition detected
| | Profile flame graph shows "unknown" functions | Missing both Dart symbols and dSYMs | Upload both via `sentry_dart_plugin` and the Xcode build phase | | Profiling not working on iOS Simulator | Known limitation — Simulator profiling may not match device behavior | Validate on a real device.
Tool passed security scan
Passed Files (1)Click to expand
Tool passed security scan