Restore purchased items after app restart

Hello! I am quite new to IAP development and cannot find an answer on how I can recover purchased items after the user closes the application. Let’s say a user bought a “character unlock”. I can’t save this information on the device, as it becomes vulnerable to hacking. I guess I should ask the store (Google Play / App Store) what products the user bought. But I can not find the necessary API …
Any help would be appreciated.

You can check the receipts during IAP initialization. Otherwise, you’ll need to persist the purchase information yourself, some studios save purchases to the cloud.

1 Like

Thank you! That’s what I was looking for!