Skip to content

Needs to be migrated for web support #95

Open

Description

@awvreenen95

I am attempting to compile a webassembly build for a project I'm working on that makes use of mqtt. The mqtt_client library is dependent on universal_html which does not support webassembly since the dart:html library is not supported.

Please see some more details in an issue I raised on flutter repo and also an issue raised on the mqtt_client repo.

Activity

  1. Macacoazul01 commented on Feb 22, 2024

    @Macacoazul01

    Here we're having this error when building for flutter 3.19:
    Error: The type 'JSObject' can't be used as supertype.

  2. navaronbracke commented on Mar 21, 2024

    @navaronbracke

    We should really deprecate this library in favor of package:web that is vendored by the Dart team itself.

    https://pub.dev/packages/web

  3. lishaduck commented on Aug 9, 2024

    @lishaduck

    We should really deprecate this library in favor of package:web that is vendored by the Dart team itself.

    In an ideal world, yes, but package:web isn't universal either. Maybe a package:universal_web?

  4. rayliverified commented on Jan 12, 2025

    @rayliverified

    @schultek released a universal_web package.
    https://pub.dev/packages/universal_web

    Maybe @dint-dev could be invited to help maintain it if they're willing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions