Skip to main content
Question

Android Billing Library version 5

  • 16 August 2023
  • 1 reply
  • 269 views

0xDEV
Forum|alt.badge.img+1

Has anyone else experienced issues with the Android Billing Library version 5 when in-app purchases don't load? I receive the error "BillingClient: Querying product details is not supported." This started earlier this month for some of my clients. It's extremely frustrating, and I can't seem to find a solution.

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • August 18, 2023

Hello,

This is dependent on the device it seems. It’s more common on older Android devices than newer ones. Make a call to canMakePayments to ensure the device can fetch product details before displaying products or making purchases: https://sdk.revenuecat.com/android/6.9.2/purchases/com.revenuecat.purchases/-purchases/-companion/can-make-payments.html?query=fun%20canMakePayments(context:%20Context,%20features:%20List%3CBillingFeature%3E%20=%20listOf(),%20callback:%20Callback%3CBoolean%3E)

I also found this StackOverflow post that sounds similar and they resolved it by updating Google Play: https://stackoverflow.com/questions/73071611/android-iab-v5-querying-product-details-is-not-supported this makes sense to me as Billing Client 5 would require an update to Google Play and possibly the device OS.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings