Thanks Nick. Yes I am using ICE to save the game settings and score/achievements. So If understand you well, I can just add an ICE box maybe called storeSettings which could be a table like
[lua]storeSettings = ice:loadBox ( "storeSettings " )
storeSettings:storeIfNew(“paid”, false)
storeSettings:storeIfNew(“coins1”, false)
storeSettings:storeIfNew(“coins2”, false)[/lua]
Then as you said check if the storeSettings is not nil (something like: if storeSettings ~= nil then…end)
If the box exist then the user is using the new version and i will turn on Revmob if “paid” is false. If the box does not exist then the user was using the old version (paid) so do not show Revmob and save “paid” as true (storeSettings:store(“paid”, true)
I have added storeSettings:storeIfNew(“coins1”, false) to keep track of any consumables but I am not sure i need to do since they are consumables??
You are right, the only situation is if the user delete the old version (paid) and then somehow load the the new version (free with IAP) but I have a feeling that will represent 1% or less of the user base. I do not know if Apple has any mechanism to help these people either get a refund (can you even get a refund on the app store??) Since I have a support email button in the app, I maybe able to use that to fix any issue with people…
In any event thanks for all your help.
Mo
[import]uid: 100814 topic_id: 33935 reply_id: 135148[/import]