@samuelrichards95 It’s not possible to know when someone has uninstalled an app or game. This isn’t possible on iOS and it’s not possible on Android.
check if an account isnt signed in for more than 10 days then delete it
Yes you can write a custom SQL query and execute it with some kind of background service or cron job to run over the database table of users and delete those which match whatever criteria you want.
There isn’t anything built into Nakama server to do this for you because the game server is specifically not designed for this kind of “guest account” play. There shouldn’t be a reason to remove the player account unless they’ve asked to be deleted or have made a GDPR/Privacy Shield request.