Hey Guys,
I am making an app which where I want to log Online or offline of the user status if the user is in the app I can make it online but when he leaves it I want to log Offline in the database which is a google spreadsheet. (This is a multiplayer online game)
this doesnt work properly like if I leave the app then I dont see the database showing the user offline it shows offline when I log on into the app again and after a few seconds resume IDK whats happening