fluttercommunity / plus_plugins

Flutter Community Plus Plugins
BSD 3-Clause "New" or "Revised" License
1.56k stars 940 forks source link

[Bug]: Missing WASM support #3024

Closed nietsmmar closed 3 months ago

nietsmmar commented 3 months ago

Platform

All

Plugin

device_info_plus, package_info_plus

Version

all

Flutter SDK

all

Steps to reproduce

run flutter build with --wasm flag.

I can't built my app for wasm because this package is not supporting it. As it is stable in flutter now, it would be nice if it is supported.

Code Sample

flutter run web --wasm

Logs

Context: The unavailable library 'dart:html' is imported through these packages:

    web_plugin_registrant.dart => package:device_info_plus => dart:html
    web_plugin_registrant.dart => package:package_info_plus => dart:html

Flutter Doctor

irrelevant for this

Checklist before submitting a bug

vbuberen commented 3 months ago

Mentioned packages added WASM support a few months ago already. https://github.com/fluttercommunity/plus_plugins/blob/main/packages/device_info_plus/device_info_plus/CHANGELOG.md#1010 https://github.com/fluttercommunity/plus_plugins/blob/main/packages/package_info_plus/package_info_plus/CHANGELOG.md#600

Please really use search instead of just marking the checkmark.