Skip to content

Commit 22b87f4

Browse files
committed
Release 3.0.0
1 parent ba0a37e commit 22b87f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+116
-116
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# browser-switch-android Release Notes
22

3-
## unreleased
3+
## 3.0.0
44

55
* Upgrade `compileSdkVersion` and `targetSdkVersion` to API 35
66

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Add the library to your dependencies in your `build.gradle`:
1212

1313
```groovy
1414
dependencies {
15-
implementation 'com.braintreepayments.api:browser-switch:3.0.0-beta1'
15+
implementation 'com.braintreepayments.api:browser-switch:3.0.0'
1616
}
1717
```
1818

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ plugins {
4040
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
4141
}
4242

43-
version = '3.0.0-beta2-SNAPSHOT'
43+
version = '3.0.0'
4444
group = "com.braintreepayments"
4545
ext {
4646
compileSdkVersion = 35

docs/browser-switch/com.braintreepayments.api/-browser-switch-client/-browser-switch-client.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a class="library-name--link" href="../../../index.html">
4242
browser-switch-android
4343
</a> </div>
44-
<div class="library-version">3.0.0-beta1-SNAPSHOT
44+
<div class="library-version">3.0.0-beta2-SNAPSHOT
4545
</div>
4646
</div>
4747
<div class="filter-section" id="filter-section">
@@ -66,7 +66,7 @@ <h1 class="cover"><span>Browser</span><wbr><span>Switch</span><wbr><span><span>C
6666
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":browser-switch:dokkaHtmlPartial/release"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="token punctuation">)</span></div><p class="paragraph">Construct a client that manages the logic for browser switching.</p></div></div>
6767
</div>
6868
<div class="footer">
69-
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
69+
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
7070
</div>
7171
</div>
7272
</div>

docs/browser-switch/com.braintreepayments.api/-browser-switch-client/assert-can-perform-browser-switch.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a class="library-name--link" href="../../../index.html">
4242
browser-switch-android
4343
</a> </div>
44-
<div class="library-version">3.0.0-beta1-SNAPSHOT
44+
<div class="library-version">3.0.0-beta2-SNAPSHOT
4545
</div>
4646
</div>
4747
<div class="filter-section" id="filter-section">
@@ -66,7 +66,7 @@ <h1 class="cover"><span>assert</span><wbr><span>Can</span><wbr><span>Perform</sp
6666
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":browser-switch:dokkaHtmlPartial/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="assert-can-perform-browser-switch.html"><span class="token function">assertCanPerformBrowserSwitch</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.html">ComponentActivity</a><span class="token punctuation">, </span></span><span class="parameter ">browserSwitchOptions<span class="token operator">: </span><a href="../-browser-switch-options/index.html">BrowserSwitchOptions</a></span></span><span class="token punctuation">)</span></div><p class="paragraph">Throws a <a href="../-browser-switch-exception/index.html">BrowserSwitchException</a> when a browser switch flow cannot be started.</p><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>activity</span></span></u></div></span></div><div><div class="title"><p class="paragraph">the activity used to start browser switch</p></div></div></div></div><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span>browser</span><wbr><span>Switch</span><wbr><span><span>Options</span></span></u></div></span></div><div><div class="title"><p class="paragraph"><a href="../-browser-switch-options/index.html">BrowserSwitchOptions</a> the options used to configure the browser switch</p></div></div></div></div></div><h4 class="">Throws</h4><div class="table"><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><a href="../-browser-switch-exception/index.html"><span>Browser</span><wbr><span>Switch</span><wbr><span><span>Exception</span></span></a></div></span></div><div><div class="title"><p class="paragraph">exception containing the error message on why browser switch cannot be started</p></div></div></div></div></div></div></div>
6767
</div>
6868
<div class="footer">
69-
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
69+
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
7070
</div>
7171
</div>
7272
</div>

docs/browser-switch/com.braintreepayments.api/-browser-switch-client/complete-request.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a class="library-name--link" href="../../../index.html">
4242
browser-switch-android
4343
</a> </div>
44-
<div class="library-version">3.0.0-beta1-SNAPSHOT
44+
<div class="library-version">3.0.0-beta2-SNAPSHOT
4545
</div>
4646
</div>
4747
<div class="filter-section" id="filter-section">
@@ -66,7 +66,7 @@ <h1 class="cover"><span>complete</span><wbr><span><span>Request</span></span></h
6666
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":browser-switch:dokkaHtmlPartial/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="complete-request.html"><span class="token function">completeRequest</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>intent<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a><span class="token punctuation">, </span></span><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>pendingRequest<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-browser-switch-final-result/index.html">BrowserSwitchFinalResult</a></div><p class="paragraph">Completes the browser switch flow and returns a browser switch result if a match is found for the given <a href="../-browser-switch-request/index.html">BrowserSwitchRequest</a></p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">a <a href="../-browser-switch-final-result/-success/index.html">BrowserSwitchFinalResult.Success</a> if the browser switch was successfully completed, or <a href="../-browser-switch-final-result/-no-result/index.html">BrowserSwitchFinalResult.NoResult</a> if no result can be found for the given pending request String. A <a href="../-browser-switch-final-result/-no-result/index.html">BrowserSwitchFinalResult.NoResult</a> will be returned if the user returns to the app without completing the browser switch flow.</p></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>intent</span></span></u></div></span></div><div><div class="title"><p class="paragraph">the intent to return to your application containing a deep link result from the browser flow</p></div></div></div></div><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span>pending</span><wbr><span><span>Request</span></span></u></div></span></div><div><div class="title"><p class="paragraph">the pending request string returned from <a href="../-browser-switch-start-result/-started/index.html">BrowserSwitchStartResult.Started</a> via <a href="start.html">start</a></p></div></div></div></div></div></div></div>
6767
</div>
6868
<div class="footer">
69-
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
69+
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
7070
</div>
7171
</div>
7272
</div>

docs/browser-switch/com.braintreepayments.api/-browser-switch-client/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a class="library-name--link" href="../../../index.html">
4242
browser-switch-android
4343
</a> </div>
44-
<div class="library-version">3.0.0-beta1-SNAPSHOT
44+
<div class="library-version">3.0.0-beta2-SNAPSHOT
4545
</div>
4646
</div>
4747
<div class="filter-section" id="filter-section">
@@ -139,7 +139,7 @@ <h2 class="">Functions</h2>
139139
</div>
140140
</div>
141141
<div class="footer">
142-
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
142+
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
143143
</div>
144144
</div>
145145
</div>

docs/browser-switch/com.braintreepayments.api/-browser-switch-client/start.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a class="library-name--link" href="../../../index.html">
4242
browser-switch-android
4343
</a> </div>
44-
<div class="library-version">3.0.0-beta1-SNAPSHOT
44+
<div class="library-version">3.0.0-beta2-SNAPSHOT
4545
</div>
4646
</div>
4747
<div class="filter-section" id="filter-section">
@@ -66,7 +66,7 @@ <h1 class="cover"><span><span>start</span></span></h1>
6666
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":browser-switch:dokkaHtmlPartial/release"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a></div></div><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="start.html"><span class="token function">start</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.html">ComponentActivity</a><span class="token punctuation">, </span></span><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html"><span class="token annotation builtin">NonNull</span></a>&nbsp;</span>browserSwitchOptions<span class="token operator">: </span><a href="../-browser-switch-options/index.html">BrowserSwitchOptions</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-browser-switch-start-result/index.html">BrowserSwitchStartResult</a></div><p class="paragraph">Open a browser or <a href="https://developer.chrome.com/multidevice/android/customtabs">Chrome Custom Tab</a> with a given set of <a href="../-browser-switch-options/index.html">BrowserSwitchOptions</a> from an Android activity.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">a <a href="../-browser-switch-start-result/-started/index.html">BrowserSwitchStartResult.Started</a> that should be stored and passed to <a href="complete-request.html">completeRequest</a> upon return to the app, or <a href="../-browser-switch-start-result/-failure/index.html">BrowserSwitchStartResult.Failure</a> if browser could not be launched.</p></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>activity</span></span></u></div></span></div><div><div class="title"><p class="paragraph">the activity used to start browser switch</p></div></div></div></div><div class="table-row" data-filterable-current=":browser-switch:dokkaHtmlPartial/release" data-filterable-set=":browser-switch:dokkaHtmlPartial/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span>browser</span><wbr><span>Switch</span><wbr><span><span>Options</span></span></u></div></span></div><div><div class="title"><p class="paragraph"><a href="../-browser-switch-options/index.html">BrowserSwitchOptions</a> the options used to configure the browser switch</p></div></div></div></div></div></div></div>
6767
</div>
6868
<div class="footer">
69-
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
69+
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
7070
</div>
7171
</div>
7272
</div>

docs/browser-switch/com.braintreepayments.api/-browser-switch-exception/-browser-switch-exception.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a class="library-name--link" href="../../../index.html">
4242
browser-switch-android
4343
</a> </div>
44-
<div class="library-version">3.0.0-beta1-SNAPSHOT
44+
<div class="library-version">3.0.0-beta2-SNAPSHOT
4545
</div>
4646
</div>
4747
<div class="filter-section" id="filter-section">
@@ -66,7 +66,7 @@ <h1 class="cover"><span>Browser</span><wbr><span>Switch</span><wbr><span><span>E
6666
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":browser-switch:dokkaHtmlPartial/release"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/VisibleForTesting.html"><span class="token annotation builtin">VisibleForTesting</span></a><span class="token punctuation">(</span><span>otherwise<span class="token operator"> = </span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/VisibleForTesting.html">VisibleForTesting.PACKAGE_PRIVATE</a></span><wbr><span class="token punctuation">)</span></div></div><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">message<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span></div></div></div>
6767
</div>
6868
<div class="footer">
69-
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
69+
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
7070
</div>
7171
</div>
7272
</div>

0 commit comments

Comments
 (0)