The clock strikes 11:45 pm, "This app is locked - Complete your ToDos to unlock" pops up on Leas Tiktok Feed. She switches to Youtube out of habit, also locked. She checks the App - Ah, right. Brush teeth. - A little selfcare later shes able to go back to doomscrolling and gets to keep her teeth for a little longer thanks to Work2Play.
Thomas sits in his car, ready to head to work. He opens Maps, "This app is locked - Complete your ToDos to unlock" - Check for keys and lunchbox the App states - Thomas checks his bag on the passenger seat, keys and lunchbox packed, unlike last week when Work2Play wasnt in his life. Taks crossed off, Maps unlocks and he gets to work on time.
We use the Accesibility API to detect with app is open. More info in the video https://drive.google.com/file/d/1JXnbhvNAXZY76xt11bd09m6zYur8ymf0/view?usp=sharing