The user can buy 5 tools at a time.
When the user installs the app, I offer a free tool.
My first question.
How to make sure that the user who deletes the application and installs it again to be able to use the free tool again.
My second question.
I want to use a database to manage the tools. Thinking of my first question, I use a database in the application or on a web server?