In our game we have build the Inapppurchases for iPhone and Android.
On Applestore you can define if an inapppurchase is consumable or not. On google developer console you cannot.
So we are told to use the function GetInAppPurchaseToken and InAppPurchaseResetPurchase, to be sure this works, we also run GetInAppPurchaseAvail2 to make sure it goes back to 0. (See image for code) == the message() functions were built in to test if it was even working at all at the time of reset, they were not there when first testing.
However, when purchasing the item again AFTER doing this, google says you already own this, and retuens GetInAppPurchaseAvail2 as 4 immediately. So my users get anothe set of skips for free.
On iPhone this all works perfectly.
My thought was to initialize the InAppPurchase item as consumable, but the compiler refuses that with a message that consumable is no longer supported..
In other words, on Android I cannot purchase a consumable item! I have screenshots of all
The documentation says that I should get a unique token after the purchase, but both times the token is exactly the same.
I'm either doing something wrong that is not documented, or the resetpurchase function for android is not working.
In our game we have build the Inapppurchases for iPhone and Android. On Applestore you can define if an inapppurchase is consumable or not. On google developer console you cannot. So we are told to use the function GetInAppPurchaseToken and InAppPurchaseResetPurchase, to be sure this works, we also run GetInAppPurchaseAvail2 to make sure it goes back to 0. (See image for code) == the message() functions were built in to test if it was even working at all at the time of reset, they were not there when first testing.
However, when purchasing the item again AFTER doing this, google says you already own this, and retuens GetInAppPurchaseAvail2 as 4 immediately. So my users get anothe set of skips for free.
On iPhone this all works perfectly.
My thought was to initialize the InAppPurchase item as consumable, but the compiler refuses that with a message that consumable is no longer supported..
In other words, on Android I cannot purchase a consumable item! I have screenshots of all
The documentation says that I should get a unique token after the purchase, but both times the token is exactly the same. I'm either doing something wrong that is not documented, or the resetpurchase function for android is not working.