Skip to content

Commit

Permalink
Fixed the issue where the app could not display the payment pop-up wi…
Browse files Browse the repository at this point in the history
…ndow
  • Loading branch information
DaVinci9196 committed Sep 9, 2024
1 parent 108bd88 commit d0bc67b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ class InAppBillingServiceImpl(private val context: Context) : IInAppBillingServi
developerPayload: String?
): Bundle {
if (Log.isLoggable(TAG, Log.DEBUG)) Log.d(TAG, "getBuyIntent(apiVersion=$apiVersion, packageName=$packageName, sku=$sku, type=$type, developerPayload=$developerPayload)")
return resultBundle(BillingResponseCode.BILLING_UNAVAILABLE, "Not yet implemented")
return runCatching { getBuyIntentExtraParams(apiVersion, packageName!!, sku!!, type!!, developerPayload, null) }
.getOrDefault(resultBundle(BillingResponseCode.BILLING_UNAVAILABLE, "Not yet implemented"))
}

override fun getPurchases(
Expand Down

0 comments on commit d0bc67b

Please sign in to comment.