Consumable resets when deleting the app

Hi all, I am working on an app that has a consumable in-app purchase option. We would like to offer 3 of those consumable items free. How do I go about making sure the user is not deleting the app to get 3 more free?