I try to keep track of inapp purchases (both ios and android) of users. I want users to use the app without creating an account so I tried using the deviceID but that changes after reinstalls. Same with revenuecats ID
How can I keep track of purchases? Whenever I reinstall the app in e.g. Testflight the purchases are gone. How can I recognize and link them to the users google/apple account or some sort of fixed ID?