Fix callbacks for DonationPending and UserLaunchedExternalApplication donation delegate methods.
This commit is contained in:
parent
7472166628
commit
b681b4169f
1 changed files with 4 additions and 4 deletions
|
@ -292,13 +292,13 @@ class InAppPaymentCheckoutDelegate(
|
|||
}
|
||||
|
||||
is DonationError.BadgeRedemptionError.DonationPending -> {
|
||||
Log.d(TAG, "User launched an external application.", true)
|
||||
errorHandlerCallback?.onUserLaunchedAnExternalApplication()
|
||||
Log.d(TAG, "Long-running donation is still pending.", true)
|
||||
errorHandlerCallback?.navigateToDonationPending(inAppPayment)
|
||||
}
|
||||
|
||||
is DonationError.UserLaunchedExternalApplication -> {
|
||||
Log.d(TAG, "Long-running donation is still pending.", true)
|
||||
errorHandlerCallback?.navigateToDonationPending(inAppPayment)
|
||||
Log.d(TAG, "User launched an external application.", true)
|
||||
errorHandlerCallback?.onUserLaunchedAnExternalApplication()
|
||||
}
|
||||
|
||||
else -> {
|
||||
|
|
Loading…
Add table
Reference in a new issue