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

Listen to when custom tabs closes #8

Open
KingIdee opened this issue Dec 22, 2018 · 1 comment
Open

Listen to when custom tabs closes #8

KingIdee opened this issue Dec 22, 2018 · 1 comment

Comments

@KingIdee
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?

@prologikus
Copy link

For closing the tabs, you can use:
CustomTabsPlatform.instance.closeAllIfPossible()

For knowing when the action is done, you need to have control of the website you're in, and call an API from the website to inform the app that the action is done.

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

2 participants