Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty inventory list for Android? #39

Open
anpShawn opened this issue Dec 18, 2015 · 1 comment
Open

Empty inventory list for Android? #39

anpShawn opened this issue Dec 18, 2015 · 1 comment

Comments

@anpShawn
Copy link

Hi, have been using this extension for quite some time with no issue. However, I recently noticed that on Android I always receive an empty list when querying the inventory, meaning I can no longer display prices to my users. The remaining purchase flow works fine though.

I can't say exactly what would have changed recently- I have the latest official release from github here, and my app currently targets SDK 22 (minimum 11). I have experienced this on both Lollipop and Marshmallow.

@bendmorris
Copy link

bendmorris commented Feb 25, 2017

I started receiving empty responses as well, and splitting my request into batches seemed to help. Not sure if there's an undocumented size limit or something on Google Play.

Note that extension-iap is not designed for batched requests - it completely replaces IAP.inventory with every request, instead of adding the new data. So anything you need from Inventory needs to be pulled out before making the next request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants