-
Notifications
You must be signed in to change notification settings - Fork 69
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
startup_task parameters are not passed to main() #240
Comments
I'm having the same issue. Have you been able to figure it out? |
I couldn't reproduce it on my machine (win11) 😕 Maybe try uninstalling once and reinstalling. |
I've just tried writing args to a txt file on startup and it shows as [] so the parameters definitely aren't getting passed in to the app.
|
I still was not able to pass the argument autostart. Is there any way to debug this correctly? Maybe i can lookup a registry section? |
please put here the full pubspec.yaml content (delete sensitive data) |
+1, not work on Windows 10, this is my settings:
|
I have the same issue. Same parameters as @razfazz that are visible in the package manifest, but not passed to the main function in Flutter. I'm on Windows 11 Enterprise, using msix 3.16.7. Any update on that issue @YehudaKremer? |
I am using the following startup_task configuration inside my msix_config:
When I restart my PC the installed flutter app starts automatically as expected but unfortunately the args are empty.
It should contain ["autostart"]
The text was updated successfully, but these errors were encountered: