Skip to content

Commit

Permalink
Update v3 migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
tdchow committed May 29, 2024
1 parent 67a5fdc commit 20977da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class MyActivity : ComponentActivity() {
fun handleReturnToAppFromBrowser(intent: Intent) {
// fetch stored pending request
fetchPendingRequestFromPersistentStorage()?.let { startedRequest ->
when (val browserSwitchResult = browserSwitchClient.parseResult(startedRequest, intent)) {
when (val browserSwitchResult = browserSwitchClient.completeRequest(startedRequest, intent)) {
is BrowserSwitchResult.Success -> {
// handle successful browser switch result
// clear stored pending request
Expand Down

0 comments on commit 20977da

Please sign in to comment.