Skip to content

Releases: braintree/browser-switch-android

3.5.1

Choose a tag to compare

@github-actions github-actions released this 16 Mar 17:10
  • Add a UUID to BrowserSwitchActivityRegistryKey used to start AuthTab flows to allow for multiple instances of
    BrowserSwitchClient to have separate keys to deliver results to. Fixes an issue where multiple
    BrowserSwitchClient instances are not supported.

3.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Mar 19:30
  • Add parameterized constructor BrowserSwitchClient(ActivityResultRegistry) for AuthTab support on Jetpack Compose
  • Bump androidx.browser to 1.10.0-alpha02

3.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Dec 20:26
  • Add forceChromeCustomTabs boolean parameter to BrowserSwitchClient.start()
    • Provide control over browser switch flow when there is a need to support switching between applications
  • Add successAppLinkUri to BrowserSwitchOptions
    • Fix App Link return URL by providing a dedicated URI with full path for returning to the application

3.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 15:55
  • Add AuthTab Support
    • Upgrade androidx.browser:browser dependency version to 1.9.0
    • Upgrade compileSdkVersion and targetSdkVersion to API 36
    • Replace ChromeCustomTabsInternalClient.java with AuthTabInternalClient.kt
    • Add parameterized constructor BrowserSwitchClient(ActivityResultCaller) to initialize AuthTab support
    • Maintain default constructor BrowserSwitchClient() for backward compatibility
    • Add restorePendingRequest() method to handle process kill recovery

3.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 19:50
  • Widen BraintreeClient.start() activity reference from ComponentActivity to plain Activity

3.1.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 16:41
  • Add LaunchType to BrowserSwitchOptions to specify how the browser switch should be launched
    • Add ability to set Intent.FLAG_ACTIVITY_CLEAR_TOP on the CustomTabsIntent
  • Deprecate launchAsNewTask in BrowserSwitchOptions in favor of LaunchType

3.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Mar 16:24
  • Upgrade compileSdkVersion and targetSdkVersion to API 35

3.0.0-beta1

Choose a tag to compare

@github-actions github-actions released this 10 Jul 14:32
  • Make BrowserSwitchClient.assertCanPerformBrowserSwitch() public
  • Breaking Changes
    • Bump minSdkVersion to API 23
    • Bump target Java version to Java 11
    • Upgrade Kotlin version to 1.9.10
    • Upgrade to Android Gradle Plugin 8
    • Change BrowserSwitchClient#start parameters and return type
    • Change BrowserSwitchClient#parseResult parameters
    • Remove deliverResult, getResult, captureResult, clearActiveRequests, getResultFromCache, and deliverResultFromCache from BrowserSwitchClient
    • Add BrowserSwitchRequest and BrowserSwitchPendingRequest
    • Convert BrowserSwitchResult to sealed class and add BrowserSwitchResultInfo
    • Remove BrowserSwitchStatus
    • Rename parseResult() to completeRequest()

2.7.0

Choose a tag to compare

@github-actions github-actions released this 03 Jun 14:54
  • Add appLinkUri to BrowserSwitchOptions for Android App Link support

2.6.1

Choose a tag to compare

@github-actions github-actions released this 12 Dec 21:10
  • Throw BrowserSwitchException when a browser is not found to start browser switch