How to access a database upon android app uninstall [C#]

Hello,

I’m using a leaderboard service (data stored externally) for my android app. I have a working method that clears data upon profile reset from within the app. However, when I uninstall the app from my device, the data (understandably but undesirably) remains on the database.

Is there a way to clear player data in the database (call method mentioned above?) during the app’s un-installation process?

I think you want to keep the data, in case the user re-installs the app. Potentially have a cleanup script run on accounts with 1-3 years inactivity.