Quantcast
Channel: Questions in topic: "iap"
Viewing all articles
Browse latest Browse all 595

Unity IAP how to know if it's a restore or a new buy?

$
0
0
I'm using Unity IAP and I want to know if I can find if a product is just bought or it's a restore. I want to give users some in game currency as a bonus for buying a non consumable product (remove ads or upgrade to pro), but because it's a bonus I don't want to give it again on restore, before I was using other native store solutions and I've could do this because buy and restore had different callbacks but unity iap calls ProcessPurchase in both cases. Is there a way to to this?

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>