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
Add method to activate app without showing the main window #90
Comments
Can you call the hide method to hide the main window? it sounds logically similar to biyi. |
The main window is already hidden. But using the focus method will show it. |
Why call focus if the window is hidden? |
Can you share a screenshot or video to introduce your product features? |
The app can show native alert windows which need focus. But maybe activating should be a feature of that plugin. I also opened an issue there. zonble/flutter_platform_alert#2 |
I solved this by modifying flutter_platform_alert, you can check out my fork, and I created a PR for flutter_platform_alert. https://github.com/lijy91/flutter_platform_alert |
Thanks! |
Similar to
focus
but without showing the main window. On macOS this would only callNSApp.activate(ignoringOtherApps: true)
. Our app is mostly just the menu in the system tray (using https://github.com/leanflutter/tray_manager). Therefore it would be nice to be able to activate it without showing the main window which currently is only its settings. Activating is for example needed before showing an alert window.Maybe there could also be an optional parameter
showWindow
on thefocus
method which defaults to true?The text was updated successfully, but these errors were encountered: