Skip to content

[feat] Propagate tao::Event::Suspended and tao::Event::Resumed to the window for mobile targets #15181

@tremorrisdev

Description

@tremorrisdev

Describe the problem

I would like to be able to hook onto the events emitted when my app enters/exits the foreground on mobile.

Describe the solution you'd like

tao::Event has two variants, Suspended and Resumed that fire whenever your application enters or leaves the foreground on mobile (at least). These events are not propagated to the application window and I do not see any reason why they shouldn't.

I have a working patch of this functionality in my fork that I have been using at work for a few weeks now.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions