Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sshropshire committed Oct 30, 2024
1 parent 5ab1a89 commit a094481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Activity: ComponentActivity(), ApproveOrderListener {
+ override fun onAuthorizationRequired(authChallenge: CardAuthChallenge) {
+ val result = cardClient.presentAuthChallenge(this, authChallenge)
+ when (result) {
+ // capture auth state in a variable for later
+ // preserve auth state for balancing call to completeAuthChallenge() in onResume()
+ is CardPresentAuthChallengeResult.Success -> authState = result.authState
+ is CardPresentAuthChallengeResult.Failure -> TODO("Handle Present Auth Challenge Failure")
+ }
Expand Down

0 comments on commit a094481

Please sign in to comment.