Skip to content

incompatibilities with WebAssembly #524

Description

@p1gd0g

Describe the bug

[   +1 ms] Found incompatibilities with WebAssembly.

           package:js/js.dart 10:1 - dart:js unsupported (1)
           package:libphonenumber_web/src/interop/libphonenumber_interop.dart 4:1 - JS interop library 'package:js/js.dart' can't be imported when compiling to Wasm. (2)
           package:libphonenumber_web/src/interop/utils/stringbuffer.dart 6:1 - JS interop library 'package:js/js.dart' can't be imported when compiling to Wasm. (2)

To Reproduce

build with flutter 3.5.1

Expected behavior
We should upgrade dependency

Screenshots

Information (please complete the following information):

Additional context

temporary fix:

dependency_overrides:
  intl_phone_number_input:
    git:
      url: https://github.com/natintosh/intl_phone_number_input.git
      ref: v0.8.0

Activity

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions