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

[Flutter web] Unable to see code snippets #1322

Open
matiasleyba opened this issue May 29, 2024 · 3 comments
Open

[Flutter web] Unable to see code snippets #1322

matiasleyba opened this issue May 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@matiasleyba
Copy link

Bug description

Bug description

After uploading JS source maps correctly I still see the logs minified.

image

Command to build web application:

flutter build web --release -t lib/main_development.dart --source-maps --build-number=7 --dart-define=FLUTTER_WEB_USE_SKIA=true --dart-define=.....

Command to update symbols:

datadog-ci flutter-symbols upload --service-name flutter-app --dart-symbols-location ./debug-info --android-mapping-location build/app/outputs/mapping/developmentRelease/mapping.txt --ios-dsyms --web-sourcemaps --minified-path-prefix /

output:
image

Describe what you expected

No response

Steps to reproduce the issue

No response

Additional context

No response

Command

flutter-symbols

@matiasleyba matiasleyba added the bug Something isn't working label May 29, 2024
@fuzzybinary
Copy link
Member

Hi @matiasleyba,

Can you try setting your minified-path-prefix to the full URL that you'll be deploying to, in this case https://app-dev.{etc}.com?

@matiasleyba
Copy link
Author

Hi @matiasleyba,

Can you try setting your minified-path-prefix to the full URL that you'll be deploying to, in this case https://app-dev.{etc}.com?

@fuzzybinary I deployed a new version and updated minified-path-prefix to use the full URL, but got the same result.

image

cli output:
image

@fuzzybinary
Copy link
Member

Hi @matiasleyba

I can't see anything obvious that could be wrong. Can you open a support ticket with Datadog so we can gather some more information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants