0

My app uses Google Billing Library and it worked fine with my debug builds. I was able to retrieve products and buy products with my licensed testers without having any issues.

Then I released the signed apk to the internal testers but the Google Billing library now returns an empty list from the querySkuDetailsAsynccall, I see no products. There are no errors and BillingResponseCode is OK. What can be the reason for this issue?

Any help would be appreciated.

2
  • From my past experience: I once had different applicationId for debug and release builds, so for me, it wasn't working during debug builds.
    – ashu
    Feb 1 at 15:09
  • 1
    @ashu for me it is vice versa. Debug works okay, there is a problem with the release.
    – Tartar
    Feb 1 at 15:12

1 Answer 1

-1

You need to add the <application android:debuggable="true"> tag in your AndroidManifest.xml file.

Edit android/app/src/main/AndroidManifest.xml and add the following line just before the closing root tag of your AndroidManifest.xml file:

<application android:debuggable="true" >

This will enable your app to run in debug mode. See stackoverflow question for more information: https://stackoverflow.com/questions/47742068/google-billing-library-querygbskuasynccall-returns-empty-list

4
  • Link seems to be incorrect.
    – ashu
    Feb 1 at 15:10
  • Link is not related.
    – Tartar
    Feb 1 at 15:10
  • Whoops, sorry! Here is the updated link
    – PJMan0300
    Feb 1 at 15:15
  • @PJMan0300 still incorrect.
    – ashu
    Feb 1 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.