1 year ago

#384230

test-img

John DoeDoe

Android: why does BillingClient queryPurchasesAsync() return an empty list after app reinstall?

I am adding an in-app purchase feature into my Android app. I tried the following behaviour on an emulator:

  • Launched the app and faked an in-app purchase (using the SKU android.test.purchased)
  • Ensured that the in-app purchased was validated and acknowledged, when launching the app again queryPurchasesAsync() contains this purchase
  • Deleted the app from the emulator
  • Reinstalled it

When calling queryPurchasesAsync() again, the result list is now empty. Is that normal because I'm running the app on an emulator?

Thank you for your help

android

in-app-purchase

android-inapp-purchase

billingclient

0 Answers

Your Answer

Accepted video resources