IAP Restore Item - how do you use this?
I want to use it for something like UnlockFullGame and as I understand it let us use restore information if the customer purchased this product 1) if he deleted the game 2) he installed it on his other devices.
I can't see any other options that to put it into inicial/loading scene, but this means that this condition will be checked every time that game loads... I can add condition to check this only if UnlockFullGame=0 but it will check this contidion all the time to all people that didn't bought this item.
Do I think correct or are am I wrong?
And the second question is if it's possible to test IAP in adhoc? Because when I try i get message:
In-App Purchase Error
Product identifier was not recognized: name_of_ID
the ID is ok.
I can't see any other options that to put it into inicial/loading scene, but this means that this condition will be checked every time that game loads... I can add condition to check this only if UnlockFullGame=0 but it will check this contidion all the time to all people that didn't bought this item.
Do I think correct or are am I wrong?
And the second question is if it's possible to test IAP in adhoc? Because when I try i get message:
In-App Purchase Error
Product identifier was not recognized: name_of_ID
the ID is ok.
Comments
Also if you have created identifiers etc. AFTER downloading provision files and certs then download them again only once the identifier is set to make sure they are all synced.
Unlocking a game does not have to be checked on loading a game. Once a user unlocks it and you save that condition it should stay unlocked. Restore command should only be used by the user hitting a restore button if they lose the unlock status - do not make it happen by itself.
Hope that helps.