Skip to content

[Url_launcher] run code after browser close #57536

Description

@greedyRoach

Use case

The app opens a url where the user does something in the app back-server, so when the process is done, the user returns to the app and the library (url_launcher) triggers a listener telling the app that the browser was closed, then the app does an additional action, like refreshing a credential

Proposal

//this code only runs before web page opens
await launch(url);
//this code only runs after the web page was CLOSED (and not immediately like the current behaviour)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityp: url_launcherPlugin to launch external applicationspackageflutter/packages repository. See also p: labels.r: invalidIssue is closed as not validteam-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions