context: im building an appblocker application, and i have a foreground service. I would like to detect when the user opens a youtube short, and just redirect user home with a simple redirect_home intent.
through adb ive noted that yt makes a network request when you open yt shorts
https://s.youtube.com/api/stats/qoe?el=shortspage….
listening to logs outside of the application requires the user to root their phone. is there any way that doesnt require rooting? thank you!
Tried: getting adb logs with Runtime.getRuntime().exec(“logcat”); but i can only get logs within the application. getting all logs requires user to root their phone.