I am currently using Unity In-App Purchase native service. It works very well and I love it but there are some details that I cannot seek for and have a case to deal with.
//Talking on iOS and Android
----------
The use-case i am currently finding a way to handle
step 1 : user buy an IAP non-consumable product
step 2 : user ask for a refund from store
step 3 : user remove internet connection //so that when the app call Initialization, the app it will not be able to check on IAP server whether the IAP product was canceled.
step 4 : he keeps using the app without connect to the internet or relaunch the app
----------
what I know
1. I can check the status of each product using Product.hadReceipt
2. the has.Receipt product will be updated to the latest value on app restart
3. without internet connection there is no way to know that which product was refunded
----------
I have some of questions in my head in purpose to deal with the situation
1. I want to update the status of product rapidly rather that wait for app restart. Is there anyway to do so?
2. Does calling Initialize again on UnityPurchasing help this? if so how should I do it, can anyone give me some reference to reinit without undesirable consequence ;-;
3. Can I force my app to quite after some time of suspension ( may be 30 minutes after the app run on background)
----------
Thank all of you guys for spending your time reading and think of this. ^^
↧