Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way of knowing when the user has selected done or cancel #18

Open
kw2019ltd opened this issue Jun 22, 2019 · 4 comments
Open

Comments

@kw2019ltd
Copy link

Is there a way of knowing when the user has selected done or cancel in the chrome tab or better still, is there a way to close the tab manually?

@GroovinChip
Copy link

@droibit I would like to know about this as well. Do you have any intention of addressing this?

@gabrielaraujoz
Copy link

Hey @droibit , hope you're doing well! Do you have any intention of implementing this or would you like to give me a hint so that I can help you with it? It would be awesome if this lib had a detector for when the user closes the tab!

@molundb
Copy link

molundb commented Aug 2, 2022

What about doing this?

@override
  void didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    if (state != AppLifecycleState.resumed) return;

   // The user has closed the browser and returned to the app!
}

@panicoli0
Copy link

Also looking into this, any clue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants