Skip to content

Conversation

noguier
Copy link

@noguier noguier commented Sep 30, 2025

Summary of changes

First Iteration

  • added AuthTabInternalClient,
  • removed ChromeCustomTabsInternalClient,
  • modified ComposeActivity & DemoActivitySingleTop to accept the above changes,
  • added toast visuals to see whether or not the AuthTab is supported

Second Iteration

  • rewrote AuthTabInternalClient to Kotlin and added a ClearTop Flag,
  • wrote new AuthTabInternalClientUnitTest that tests AuthTabInternalClient,
  • removed ChromeCustomTabsInternalClientUnitTest,
  • modified BrowserSwitchClientUnitTest to test the AuthTab changes

Checklist

  • Added a changelog entry

Authors

@noguier

added AuthTabInternalClient,
removed ChromeCustomTabsInternalClient,
modified ComposeActivity & DemoActivitySingleTop to accept the above changes,
added toast visuals to see whether or not the AuthTab is supported
@noguier noguier requested a review from a team as a code owner September 30, 2025 17:06
import androidx.browser.customtabs.CustomTabsClient;
import androidx.browser.customtabs.CustomTabsIntent;

class AuthTabInternalClient {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For newer classes, we could use kotlin probably?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I was thinking the same thing, I will rewrite it

rewrote AuthTabInternalClient to Kotlin and added a ClearTop Flag,
wrote new AuthTabInternalClientUnitTest,
removed ChromeCustomTabsInternalClientUnitTest,
modified BrowserSwitchClientUnitTest to accept the AuthTab changes
@noguier noguier marked this pull request as draft October 2, 2025 20:44
@noguier noguier marked this pull request as ready for review October 2, 2025 20:45
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

Successfully merging this pull request may close these issues.

2 participants