godot-sdk-integrations / godot-google-play-billing

Godot Android plugin for the Google Play Billing library
MIT License
160 stars 50 forks source link

Test if item is bought and restore purchase #63

Open Stoniye opened 6 months ago

Stoniye commented 6 months ago

I wanted to add in my game that you can buy an ad-free version. Please can someone explain to me how I can check every time I start the game whether you have bought the ad-free version or not and how it works when you uninstall and download the app again, how can I restore the purchase?

My code so far: image image image image image image image

Thanks for every respond in advance

Stoniye commented 6 months ago

Okay I figured it out myself, thanks anyway