Skip to content

feat(browser): implement close() method for android #1972

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

Merged
merged 6 commits into from
Jan 22, 2024

Conversation

ItsChaceD
Copy link
Contributor

Closes #151

This PR adds the close() method to the Android Browser Plugin.
We create an "intermediate" controller activity that launches the custom tabs, and when we want to close, we launch the same activity with FLAG_ACTIVITY_CLEAR_TOP which triggers onNewIntent where we can detect to destroy the activity & custom tabs, without sacrificing the existing activity stack.

Copy link

github-actions bot commented Dec 20, 2023

Released dev build of browser with dev version: 6.0.0-dev-1972-20240122T161017.0

@ItsChaceD ItsChaceD requested a review from markemer January 17, 2024 10:38
@markemer
Copy link
Member

This looks ok to me, but I'm going to wait on @theproducer's call on his group of real devices before I sign off.

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

Successfully merging this pull request may close these issues.

4 participants