-
Notifications
You must be signed in to change notification settings - Fork 257
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
webassembly bug #975
Comments
@jacobaraujo7 @davidsdearaujo, Could you please check this issue with the Modular using Auto Injector? In my company, we use Modular extensively with Flutter Web, and it's preventing us from utilizing the new Flutter features. |
…ion method and enhance class name extraction logic - Updated the parameter addition method to insert positional parameters at the beginning of the list. - Improved class name extraction from constructor strings using regex, with error handling for unmatched cases. - Removed generics from the extracted class name for cleaner output.
@joaovvrodrigues thank you for reporting this bug. Add this to the end of your pubspec.yaml: dependency_overrides:
auto_injector:
git:
url: https://github.com/davidsdearaujo/auto_injector
ref: issue-975-webassembly-bug |
Hi @davidsdearaujo, thanks for your feedback. Apparently the problem still persists. |
@joaovvrodrigues Could you describe what steps are you following to run the project in wasm? |
@davidsdearaujo, Flutter 3.24 or newer supports running a web app with Wasm using |
+1 |
Change named params to positional params in order to work with wasm
@ArturLevchuk @joaovvrodrigues @HudsonAfonso Please try to override the flutter_modular dependency like that: dependency_overrides:
flutter_modular:
git:
url: https://github.com/davidsdearaujo/modular.git
ref: dcadc389f546680cc9b63cf3f7b5e65ded8361ae
path: flutter_modular This will point to this PR, please take a look at the PR description: Drop a comment in the PR if it worked for you! |
Describe the bug
Looks like problem with auto-injector for wasm. In general web all is ok.
Environment
Flutter 3.24.4
flutter_modular: 6.3.4
To Reproduce
Screenshots
The text was updated successfully, but these errors were encountered: