I'm having issues with the App Start block. For testing, I made a simple flow, "Flow start > 5 second delay > app start".
When Automate is in the foreground, it works as expected, starting the app after 5 seconds.
When I start the flow and go to the home screen, (Automate still in recent apps,) the flow finishes, but the app isn't launched.
Looking in the log, it has no errors and seems normal. (Flow beginning > Delay > App start > Stopped at end)
I've tried to launch multiple apps and got the same results.
I'm using a Xiaomi Redmi Note 8 Pro running Android 10 and MIUI 12. I've turned off as much of the battery optimization crap I could using
dontkillmyapp.com, and I turned off the MIUI Optimisations in the developer options.
It's probably MIUI being stupid. Any help would be appreciated!