getsentry / getsentry/sentry-dart

Support Flutter Web WASM symbolication

Open
#1,480 21 comments 22 reactions 1 assignee Claimed by @buenaflor View on GitHub
Dart Errors Feature flutter-web symbolication WASM
Dominant language
Dart
Stars
873
Forks
299
Avg merge
2d 7h
Merged PRs (30d)
30

Description

@buenaflor: You can symbolicate Flutter Web Wasm builds with the (hacky) workaround. However this is not considered to be stable and is not an official support. Read [this]() for more information.

This should work as a temporary solution until we properly implement it

This is blocked by https://github.com/getsentry/symbolicator/issues/1867

### Description

~~JS package -> [https://github.com/getsentry/sentry-javascript/tree/develop/packages/wasm\~]()~~
~~The SDK needs to fill the ~~`~~debug_meta~~`~~ property with the image list.~~~~
~~~~Flutter Web probably exposes the ~~`~~WebAssembly.Module~~`~~ as well, if not, we can leverage that by using the JS SDK directly.~~~~
~~~~The [Dart plugin]() should upload the DWARF files.~~

~~SDKs cannot depend on ~~`~~html~~`~~ packages nor its transitive dependencies~~
\~[https://docs.flutter.dev/platform-integration/web/wasm#requires-preview-js-interop-to-access-browser-and-js-apis\~]()

~~Sentry Flutter SDK isn't compatible as of now.~~~~
~~~~Sentry Dart SDK compiles just fine.~~

~~Blocked by [https://github.com/flutter/flutter/issues/127564]() as well~~

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.