Hi, im trying to make a flow that should be a workaround, the problem is : I have a redmi note 10 pro with miui 14 android 13 with root access, now from what i understood, for security reasons, when you reboot or turn on your device, till you dont put your pin / pattern in the lockscreen, you wont get any notifications ( apps like whatsapp or emails ) you can get only phone calls. Now this is very annoying because i usually sheduled my phone to turn on / off automatically, so in the morning if i forget or im late and i dont put the security pin/ patten i wont receive any notification, this happens very often. So the idea is to create a flow that bypass the first unlock so that i can get all notifications.
I create it, but i got errors, if someone can point me a solution i would be more than grateful.
See my flow and log