If it is possile to load user’s owned in-app products, I think that Google Play IAP V3 is more useful and powerful.
Or, it is good that callback is called when store.consumePurchase( { … } ) is called and the process of consume is completed.
Now the latter is possible.
That is, when store.consumePurchase() is called, transaction callback is called which is defined store.init().
However, there are situations such as the following:
When it is not possible to know which in-app products is purchased and but not consumed,
( network error, crash, discharge of the battery, forced termination by OS and so on )
there is no choice but to pass all of the in-app product identifiers to store.consumePurchase().
In this case, it is impossible to count the “consumed” state in transaction callback (the 2nd parameter of store.init())
So, I hope it will be supported to query the owned in-app products for the user.
With Google Play In-app Billing, there is something like this:
http://developer.android.com/google/play/billing/api.html
* Managing consumable purchases in your application
-
Send a getPurchases request to query the owned in-app products for the user.
-
If there are any consumable in-app products, consume the items by calling consumePurchase. This step is necessary because the application might have completed the purchase order for the consumable item, but stopped or got disconnected before the application had the chance to send a consumption request.
-
Get a response code from Google Play indicating if the consumption completed successfully.
-
If the consumption was successful, provision the product in your application.