Apps not starting when flow is triggered, works fine manually

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
GNDN-47
Posts: 2
Joined: 20 Feb 2020 11:28

Apps not starting when flow is triggered, works fine manually

Post by GNDN-47 » 21 Feb 2020 08:57

Hi,

I searched the forum and FAQ but I didn't find a solution for my problem.

The tasks in my workflow work great when fired manually, it turns of WiFi, sets volume, runs AmazonMusic, Blitzer.de Pro and Magic Earth.
But when the tasks is triggered (Car BT connected) and the condition (power connected) is met, the apps are not starting. all other things are working well (WiFi, volume, etc.) even the TtS-Message at the end of the flow works.

When I look into the log, the log states that all apps were started and everything is fine ... running it from within the Automagic app will start all mentioned apps. The same flow works fine on my old Galaxy Tab.

my a problem with permissions but I didn't change anything. The phone is a Galaxy S9+, Android 10, current patchlevel. During testing I removed the screen lock so this is not an issue.

Maybe someone has an idea what I did wrong ?

Thanks,
Andreas

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Apps not starting when flow is triggered, works fine manually

Post by Desmanto » 22 Feb 2020 05:54

Try to create another flow, add sleep 3 seconds and then launch app, choose the app. Execute the flow manually, wait until 3 seconds, the app should have launched properly. Now try again, but after tap execute, press home immediately to go back to homescreen. And wait until 3 seconds, see if the app is launched properly.

AFAIR, android 10 require extra permission, at least draw over other app permission. I remember my flow with launch app are working properly when I try android 10 ROM for a week.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
GNDN-47
Posts: 2
Joined: 20 Feb 2020 11:28

Re: Apps not starting when flow is triggered, works fine manually

Post by GNDN-47 » 22 Feb 2020 19:47

Hi,
AFAIR, android 10 require extra permission, at least draw over other app permission.
THANKS,after granting the permission the flow works fine!

-Andreas

Post Reply