Launch App in when automagic in background filed to work

Post your questions and help other users.

Moderator: Martin

Sergey_777-s
Posts: 42
Joined: 17 Sep 2019 08:30

Re: Launch App in when automagic in background filed to work

Post by Sergey_777-s » 31 Oct 2019 15:42

Uninstall, delete folder then reinstall gives all access created the same flow, but the same situation, it's not automagic problem but how to know what disturb service of automagic works correctly?

icefox56
Posts: 53
Joined: 15 Aug 2017 02:56

Re: Launch App in when automagic in background filed to work

Post by icefox56 » 31 Oct 2019 16:23

I have never used a Xiaomi phone before so I don't know what causes this. It may be a certain system setting you turned on, may be something in developer settings, may be a new app you installed.

Since the log shows no errors I'm unable to help in a meaningful way.

But can you tell me what flow are you trying to create?

Pressing the home button is the problem. Is it required in your main flow?

Will this flow work normally if you set the trigger as a fixed time instead of manual execution?
Asus Zenfone Max pro M1, Stock android, Oreo 8.1, Rooted

Sergey_777-s
Posts: 42
Joined: 17 Sep 2019 08:30

Re: Launch App in when automagic in background filed to work

Post by Sergey_777-s » 31 Oct 2019 19:34

My flow wait when I start apps what blocked in my country then launch vpn program click connect inside it, and wait for VPN connection then shows my app... And so on. All worked for 1.5 year before some days ago what's happening I don't know..

Sergey_777-s
Posts: 42
Joined: 17 Sep 2019 08:30

Re: Launch App in when automagic in background filed to work

Post by Sergey_777-s » 31 Oct 2019 20:04

I loop my script and make part of debug log, please says me what's wrong?
log_2019-10-31-21_54_53.txt
(7.66 KiB) Downloaded 775 times

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Launch App in when automagic in background filed to work

Post by Martin » 31 Oct 2019 20:35

Hi,

Android should only delay the execution of 'Launch App' by about 5 seconds when the home button is pressed (I think this is for security reasons that an app can not launch stuff from the background when the home button is pressed).

Please also check in the system settings if there are battery optimization (maybe here are tips for your device model: https://dontkillmyapp.com/).

Regards,
Martin

Sergey_777-s
Posts: 42
Joined: 17 Sep 2019 08:30

Re: Launch App in when automagic in background filed to work

Post by Sergey_777-s » 31 Oct 2019 21:51

Martin wrote:
31 Oct 2019 20:35
Hi,

Android should only delay the execution of 'Launch App' by about 5 seconds when the home button is pressed (I think this is for security reasons that an app can not launch stuff from the background when the home button is pressed).

Please also check in the system settings if there are battery optimization (maybe here are tips for your device model: https://dontkillmyapp.com/).

Regards,
Martin
HI Martin, thanks, battery optimization! In app miui disable permissions for autostart, run in background, and something else, when fixed - now works! Thanks Martin and everybody!

Post Reply