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.