Skip to content

incompatibilities with WebAssembly #524

@p1gd0g

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

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