Skip to content

[Request]: (sensors_plus) Migrate to package:web to support WASM #2602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
IchordeDionysos opened this issue Feb 17, 2024 · 1 comment · Fixed by #2697
Closed

[Request]: (sensors_plus) Migrate to package:web to support WASM #2602

IchordeDionysos opened this issue Feb 17, 2024 · 1 comment · Fixed by #2697
Labels
enhancement New feature or request triage

Comments

@IchordeDionysos
Copy link
Contributor

Plugin

sensors_plus

Use case

Compiling to WASM

Proposal

The short version:

  • Migrate usage of dart:html to package:web
  • Migrate usage of dart:js, dart:js_util, and package:js to dart:js_interop

This will allow compiling to WASM engine instead of just JavaScript on web.

Full migration guide: https://dart.dev/interop/js-interop/package-web

@IchordeDionysos IchordeDionysos added enhancement New feature or request triage labels Feb 17, 2024
@IchordeDionysos IchordeDionysos changed the title [Request]: Migrate to package:web to support WASM [Request]: (sensors_plus) Migrate to package:web to support WASM Feb 17, 2024
@miquelbeltran
Copy link
Member

Did a quick check and seems that APIs like LinearAccelerationSensor, Accelerometer, etc. have not been ported to the web package, but they exist in dart:html.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants