dd-sdk-flutter icon indicating copy to clipboard operation
dd-sdk-flutter copied to clipboard

Support WASM for Flutter 3.22

Open NashIlli opened this issue 1 year ago • 2 comments

Feature description

Packages for web are updated in the new version of Flutter and they are incompatible with the current version of datadog_fltuter_pluggin when trying to compile to Wasm

Proposed solution

No response

Other relevant information

No response

NashIlli avatar May 15 '24 19:05 NashIlli

Hi @NashIlli ,

I'll look into it ASAP. Any chance you can post what's now working or the errors you're seeing when compiling to WASM?

fuzzybinary avatar May 15 '24 19:05 fuzzybinary

@fuzzybinary thans for your quick response!

Im getting the following message

../../../.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.5.0/lib/datadog_flutter_plugin_web.dart:12:8: 
Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html' as html show window;

NashIlli avatar May 15 '24 19:05 NashIlli

Closing and tracking as part of #615

fuzzybinary avatar May 24 '24 13:05 fuzzybinary