Skip to content

FlutterFragmentActivity support for predictive back #149753

@justinmc

Description

@justinmc

Internal: b/242216228

Use case

Several popular pub packages (local_auth, health) require the use of FlutterFragmentActivity in apps. Apps that use those packages should be able to support predictive back, too.

Proposal

Predictive back support was added to FlutterActivity in flutter/engine#52302 and to FlutterFragment in flutter/engine#52302. Support should also be added to FlutterFragmentActivity, including support for route transitions (flutter/engine#49093).

What is predictive back?

Gif

217918109-945febaa-9086-41cc-a476-1a189c7831d8

What are predictive back route transitions?

Video
predictive_back.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-text-inputOwned by Text Input teamtriaged-text-inputTriaged by Text Input team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions