Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

0.9.6 on IOS,Unity - Non-Consumable item does not appear in QueryInventory Purchase #238

Closed
madangosain opened this issue Jun 13, 2014 · 2 comments

Comments

@madangosain
Copy link
Contributor

Repro:

  1. User purchased a non-consumable item.
  2. App call QueryInventory to refresh current inventory, purchase does not show up in purchaseMap. - QueryInventory should give results in current session as well - Issue

Note: If user restart the app. Now QueryInventory, will show all purchases correctly in purchaseMap.

GrimReio added a commit to GrimReio/OpenIAB that referenced this issue Jun 18, 2014
@GrimReio
Copy link
Collaborator

It should work properly now.
Thank you!

@oorlov oorlov added this to the 0.9.7 milestone Jun 19, 2014
@scottp100
Copy link

I tested 0.9.6.1, and this still seems to be a problem. OpenIAB.queryInventory(); invokes callback that has an inventory that has all of the items, but the values seem unitialized. Here is an example printout of a serialized Purchase item that is non-consumable. This is returned directly after I make a purchase and then re-query the inventory. The next time I run the app, I also get this value for a queryInventory().

{"itemType":"product","orderId":"","packageName":"","sku":"sku_stage2_unlock","purchaseTime":0,"purchaseState":0,"developerPayload":"","token":"","originalJson":"","signature":"","appstoreName":""}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants