Skip to content

Commit

Permalink
Adjust comment again.
Browse files Browse the repository at this point in the history
  • Loading branch information
sshropshire committed Oct 30, 2024
1 parent a094481 commit e4257e6
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) {
+ // preserve auth state for balancing call to completeAuthChallenge() in onResume()
+ // Preserve authState 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 e4257e6

Please sign in to comment.