Skip to content

[Wasm Compatibility] Migrate from dart:js to dart:js_interop #369

@ArtemRedchych

Description

@ArtemRedchych

✅ Proposal

To support the future of Flutter Web and enable usage in Wasm builds, aad_oauth (and its transitive dependencies) should:

  • Avoid dart:js and dart:js_util
  • Migrate to the modern and Wasm-compatible dart:js_interop library
  • Optionally use conditional imports to avoid secure storage entirely on platforms where it's unavailable (e.g., Wasm)

🙏 Request

Would you be open to migrating away from dart:js to dart:js_interop to ensure aad_oauth works in future-ready Flutter Web apps?

Thanks again!
— Artem

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