Android: What response code does the V3 pending billing application do?

What response status code will be returned to the Google Play In-App {ice, er} V3 Billing Service if the network timeout expires? Is it the same among all its functions?

+5
source share
1 answer

I will describe my findings here. I tested this on AVD with a full-featured GP (GP Store V3.10.10, GP Services 2.0.12, G Services Framework 4.1.2) by pulling on the host module.

  • The method getPurchases()returns the cached result, if possible (note that this is not a cache outside the Service, but a direct call to getPurchases). Of course, this means that a cached result will almost always be obtained, unless the Service is reinitialized due to loss of local data - a case that is not very likely and often does not need to be processed in special ways at the application level.
  • consumePurchase() 6 (BILLING_RESPONSE_RESULT_ERROR) 20 ( , ). , , BILLING_RESPONSE_RESULT_ERROR Fatal error during the API action, ; , "" , -.
  • getSkuDetails(), , consumePurchase(). . , getSkuDetails() .
  • , getBuyIntent() , . , GP: , IAB V3 .

: V3 20 . , , 6.

+7

All Articles