Platform
Dart Web
Obfuscation
Disabled
Debug Info
Disabled
Doctor
Dart version
Dart SDK version: 3.3.0 (stable) (Tue Feb 13 10:25:19 2024 +0000) on "linux_x64"
Version
7.16.1
Steps to Reproduce
git clone https://github.com/getsentry/sentry-dart
git switch 7.16.1
cd sentry-dart/example_web
dart pub upgrade
dart run build_runner serve web
Expected Result
Example to compile successfully with DDC and serve main.dart.js file
Actual Result
[WARNING] build_web_compilers:entrypoint on web/main.dart:
Skipping compiling sentry_dart_web_example|web/main.dart with ddc because some of its
transitive libraries have sdk dependencies that not supported on this platform:
sentry|lib/src/sentry_isolate_extension.dart
sentry|lib/src/sentry_isolate.dart
sentry|lib/src/sentry_attachment/io_sentry_attachment.dart
https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
Are you willing to submit a PR?
Yes
Extra info:
This might be related: #1369
However, this issue has been fixed by https://github.com/getsentry/sentry-dart/pull/1371/files
So I'm a bit confused as following the dependency chain shows that I should NOT import _io version of anything. 😕
Platform
Dart Web
Obfuscation
Disabled
Debug Info
Disabled
Doctor
Dart version
Version
7.16.1
Steps to Reproduce
Expected Result
Example to compile successfully with DDC and serve
main.dart.jsfileActual Result
Are you willing to submit a PR?
Yes
Extra info:
This might be related: #1369
However, this issue has been fixed by https://github.com/getsentry/sentry-dart/pull/1371/files
So I'm a bit confused as following the dependency chain shows that I should NOT import
_ioversion of anything. 😕