Skip to content

☂️ flutter/lifecycle channel support for desktop platforms #103637

@moko256

Description

@moko256

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopengineflutter/engine related. See also e: labels.fyi-linuxFor the attention of the Linux platform teamfyi-macosFor the attention of macOS platform teamfyi-windowsFor the attention of the Windows platform teamr: solvedIssue is closed as solvedteam-engineOwned by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions