According to in-app billing reference and the next aidl definition, there is method getPurchaseHistory()
. The code is as simple as:
Bundle purchaseHistoryBundle = service.getPurchaseHistory(6, BuildConfig.APPLICATION_ID, "subs", null, new Bundle());
Response I get is 6 (BILLING_RESPONSE_RESULT_ERROR)
. That means "Fatal error during the API action"
What's wrong with the code? And if it is a bug in the service, where is the right place to report it?
Please try your code now. getPurchaseHistory() now works.