- Home /
Consume a non consumable after loading product
Hello,
We have a non consumable product on Android that last for a certain amount of time, a week , a month etc. It's not a subscription.
When we retrieve the product, when the app loads, we check the purchase date and if it's expired, we would like to consume it.
This is where the problem comes in. Since we initially added the product as non consumable we can't consume it unless we load it as a consumable.
I believe this answers the question on how to consume a non consumable
But it says to load it as a non consumable but we won't know if we have to consume it until we get it. By then it is already set as a non consumable.
If we save the receipt on our server and make the product a consumable, how can I uniquely identify the owner of that product across multiple devices for that receipt?
I also I tried to initialize the Unity Purchase twice, UnityPurchasing.Initialize(this, builder), reinitializing the product list as a consumable and trying to consume but this does not appear to work.
Any ideas?