Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android breadcrumbs on web #1378

Merged
merged 12 commits into from
Apr 11, 2023
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

### Fixes

- Fix breadcrumbs not being sent on Android web ([#1378](https://github.com/getsentry/sentry-dart/pull/1378))

### Fixes

mnordine marked this conversation as resolved.
Show resolved Hide resolved
- Fix Dart web builds breaking due to `dart:io` imports when using `SentryIsolate` or `SentryIsolateExtension` ([#1371](https://github.com/getsentry/sentry-dart/pull/1371))
- When using `SentryIsolate` or `SentryIsolateExtension`, import `sentry_io.dart`.

Expand Down
3 changes: 2 additions & 1 deletion dart/lib/src/sentry_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ class SentryClient {
return _sentryId;
}

if (_options.platformChecker.platform.isAndroid &&
if (!_options.platformChecker.isWeb &&
_options.platformChecker.platform.isAndroid &&
marandaneto marked this conversation as resolved.
Show resolved Hide resolved
_options.enableScopeSync) {
/*
We do this to avoid duplicate breadcrumbs on Android as sentry-android applies the breadcrumbs
Expand Down