[WEB] Wasm support
Do not hinder wasm compilation.
Context: The unavailable library 'dart:html' is imported through these packages:
web_plugin_registrant.dart => package:flutter_secure_storage_web => dart:html
Describe the solution you'd like
Move away from dart:html and dart:js
package:web, which replaces dart:html (and other web libraries) dart:js_interop, which replaces package:js and dart:js
https://docs.flutter.dev/platform-integration/web/wasm#js-interop-wasm
https://github.com/mogol/flutter_secure_storage?tab=readme-ov-file#wasm-support
https://github.com/mogol/flutter_secure_storage?tab=readme-ov-file#wasm-support
Wow that was quick
This issue is stale because it has been open for 30 days with no activity.
I generated a simple flutter app and then cursor IDE led me thru all the changes to make it compatible for a wasm build. https://github.com/sk92129/secure-storage-web-wasm-simple
Im wating this