-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktopengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.fyi-linuxFor the attention of the Linux platform teamFor the attention of the Linux platform teamfyi-macosFor the attention of macOS platform teamFor the attention of macOS platform teamfyi-windowsFor the attention of the Windows platform teamFor the attention of the Windows platform teamr: solvedIssue is closed as solvedIssue is closed as solvedteam-engineOwned by Engine teamOwned by Engine team
Description
The flutter/lifecycle channel is available in Android, iOS, web, but isn't implemented in desktop platforms. This issue tracks PR for each desktop platforms.
With this channel, framework can know whether an app window is visibled or focused.
This feature will unblock #87061.
Related: #30735
SystemChannels.lifecycle docs: https://api.flutter.dev/flutter/services/SystemChannels/lifecycle-constant.html
WidgetsBindingObserver.didChangeAppLifecycleState docs: https://api.flutter.dev/flutter/widgets/WidgetsBindingObserver/didChangeAppLifecycleState.html
- Add common StringMessage and StringMessageCodec: Win32: Add lifecycle channel support engine#29288
- Implement for Windows: Win32: Add lifecycle channel support engine#29288
- Implement for macOS:
- Implement for Linux:
ltOgt, ViliusP, bselwe, pourqavam, olavemil and 5 morepourqavam and Felpz905ltOgt, GroovinChip and Felpz905
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktopengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.fyi-linuxFor the attention of the Linux platform teamFor the attention of the Linux platform teamfyi-macosFor the attention of macOS platform teamFor the attention of macOS platform teamfyi-windowsFor the attention of the Windows platform teamFor the attention of the Windows platform teamr: solvedIssue is closed as solvedIssue is closed as solvedteam-engineOwned by Engine teamOwned by Engine team