How to control other app through Flutter app?
01:57 05 Apr 2026

I spend a lot of time on YouTube every day. This is very alarming for me, and this is why I want to build a Flutter app where the time phone usage will be calculated, and after 2 hours of using the phone in a day, my YouTube will be locked for the whole day, and it will be unlocked the next day.

Looking for experts' suggestions.

Is it a realistic and feasible idea? If yes, then how may I implement?
Please share your experience and plan.

android flutter background-service auto-lock