-
Notifications
You must be signed in to change notification settings - Fork 282
[Hover] Feature: Support/Document setting initialRoute similar to --route
#276
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
Comments
Not duplicate nor related, but it does overlaps #240. More information is available in #240 (comment). To implement this feature, it is likely that we will need to write a custom plugin that calls the 'flutter/navigation' Method channel. I don't know how do design this into hover as this plugin should only be loaded when using |
The second cleanest way might be to have a venv |
@devkabiir you can test #288 by running: |
PR for the hover flag done. |
Thanks @Drakirus!, While using a env variable is a good way, they are handled differently based on the host process. So for example, if the host process escapes Please consider exposing the functionality to set initialRoute in a more general purpose way. An example usage will be, Your initial implementation for setting initialRoute using |
That's another issue: #240 I think the use of venv is good enough for development purposes. (which was your initial request ^^) |
While I see to need for 'uni_links' I don't plan to work on it. I'll be happy to have a plug-in for url-links, please consider contributing on #240 😊😁 |
* feat: changes the inital flutter route fixes: /issues/276 * refactor: address PR comment * add method to append flutterInitialized cb
Feature available in go-flutter: Then the |
When running apps on android flutter supports passing
--route
argument and sets that as the initial route. This is currently not possible for iOS.However during testing/debugging, it's more productive to directly launch the app in the correct route. Can this be supported?
Example use
hover run --route="/post/5/edit"
The text was updated successfully, but these errors were encountered: