Closed phuxter closed 10 years ago
Hi,
This is a known bug in the Google libraries, we've been waiting for a fix from them on the issue and will update as soon as we hear.
Regards, Michael
Thanks for the quick response Marchbold,
I am due to release an update to our game next week.Can you please give me a little more details to help me resolve the issue.
Thanks for your help. Punya Huxter (BonzaWordPuzzle)
Hi Michael, Has there been any progress on this issue? I am still having issues and its beginning to effect our release schedule. Thanks.
Hi,
The only current workaround is to batch your queries, ie. work on the first x number of products, getProducts/restorePurchases/makePurchase etc. Then call getProducts again when you need to use a different set of products.
We are still waiting for an update as far as I'm aware. Feel free to escalate the issue if you have a contact you think will help.
Regards, Michael
Thanks Michael, Ive implemented the Batch workaround for getProducts(). WORKS.
Unfortunately Its not possible for me to do a similar batch solution with restorePurchases. As it stands users with a large number of purchases will not be able to restore.
I doubt that Google will implement a fix in the next few days but I will mention it to my contact at Google anyway. Hopefully a fix will be available soon.
FYI. Since restorePurchases doesn't work reliably, I implemented a Hack for when users get a FAILed purchases with errorCode BILLING_RESPONSE_RESULT_ITEM_ALREADY_OWNED (Hack treats these errors as if they were successful).
Have a nice day.
Using Latest ane. Im getting a PRODUCTS_FAILED event when I call getProducts passing a (large) array of ids (length 20+) (no message or errorCode).
It works fine on iOS. It works when I remove enough product Ids. (no particular product IDs causing the issue)