Skip to content

Commit

Permalink
disable
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Jul 18, 2024
1 parent 5fdb50f commit 7f39851
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flutter/lib/src/sentry_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ mixin SentryFlutter {

options.addEventProcessor(PlatformExceptionEventProcessor());

options.addPerformanceCollector(SpanFrameMetricsCollector(options));
if (options.platformChecker.platform.isAndroid ||
options.platformChecker.platform.isIOS ||
options.platformChecker.platform.isMacOS) {
options.addPerformanceCollector(SpanFrameMetricsCollector(options));
}

_setSdk(options);
}
Expand Down

0 comments on commit 7f39851

Please sign in to comment.