You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like from 2021 the support for Flutter on Web has not improved and the default experience using Sentry with Flutter on web is, let's be honest, pretty terrible. At least when compared with how well Sentry works for Flutter on iOS and Android.
Android/iOS
Web
Namely the current issues:
The issue titles are missing completely, and contains only minified:xx
Files in stacktrace are prefixed with org-dartlang-sdk:///dart-sdk/lib/..., or contain absolute URLs of the machine where the app was built, or similar issues
The stacktraces are in an unpredictable order - see the screenshot, I have it as "newest first", yet main.dart is listed before about_screen.dart, and the rest is just a mess
Tags contain "Flutter" with question mark icon, and empty tag with "Version unknown"
Apparently, the sentry_dart_plugin does not create sourcemaps correctly. Unless you follow steps mentioned in this comment, the resulting stacktraces look like this.
In the known limitations, documentation is mentioning the Obfuscate caveat, which is irrelevant for web. The code is not obfuscated, it's minified. And Sentry is simply not using source maps correctly.
There is a lot of information floating around in multiple issues, some are claiming it's Sentry's fault, some it's Flutter's fault. It would be great to consolidate information into a single issue to know what's preventing having support for Flutter on Web in Sentry. If the issue is on the Flutter side, we should clearly state why, so we can track it in this issue and open a well-described issue on Flutter repository.
Is there a chance to bring attention of the Sentry team to work on making Sentry usable for Flutter Web developers? Thanks! 🙏
The text was updated successfully, but these errors were encountered:
Hi @marianhlavac - thanks for your interest and the detailled writeup! We already have an issue for this topic: #897
Please feel free to upvote that and leave more information 🙏
Description
I'd like to follow up on the issues #417 and flutter/flutter#37875
It seems like from 2021 the support for Flutter on Web has not improved and the default experience using Sentry with Flutter on web is, let's be honest, pretty terrible. At least when compared with how well Sentry works for Flutter on iOS and Android.
Namely the current issues:
minified:xx
org-dartlang-sdk:///dart-sdk/lib/...
, or contain absolute URLs of the machine where the app was built, or similar issuesmain.dart
is listed beforeabout_screen.dart
, and the rest is just a messThere is a lot of information floating around in multiple issues, some are claiming it's Sentry's fault, some it's Flutter's fault. It would be great to consolidate information into a single issue to know what's preventing having support for Flutter on Web in Sentry. If the issue is on the Flutter side, we should clearly state why, so we can track it in this issue and open a well-described issue on Flutter repository.
Is there a chance to bring attention of the Sentry team to work on making Sentry usable for Flutter Web developers? Thanks! 🙏
The text was updated successfully, but these errors were encountered: