Page 1 of 2

Launch App in when automagic in background filed to work

Posted: 31 Oct 2019 12:19
by Sergey_777-s
Hi Martin & all, all time all works correctly, today when I execute flow with sleep + launch app using automagic interface - all OK, my app starts correctly,. But if I execute this flow and press home button while sleep timer works the app not starting, no errors in the log. Restart of device not helps. Android 7,before today all worked fine! What's wrong?

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

Posted: 31 Oct 2019 12:45
by icefox56
That shouldn't happen. I just tried it and everything works fine. Try creating a flow with only these two actions.

Action1: sleep 5s
Action2: launch "Chrome"

Manually execute the flow and press home button immediately (before 5s ends). The Chrome app should launch now. If not there is something interfering with automagic from executing the action.

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

Posted: 31 Oct 2019 12:53
by Sergey_777-s
icefox56 wrote:
31 Oct 2019 12:45
That shouldn't happen. I just tried it and everything works fine. Try creating a flow with only these two actions.

Action1: sleep 5s
Action2: launch "Chrome"

Manually execute the flow and press home button immediately (before 5s ends). The Chrome app should launch now. If not there is something interfering with automagic from executing the action.
When I not pressing home button chrome starts! But when I press home button immediately - nothing changed chrome not starts but log in two times the same without any error. How to find what interfering with automagic?

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

Posted: 31 Oct 2019 13:05
by icefox56
Is Automagic notification actively showing on your statusbar?
NOTABLE-00007.jpg
NOTABLE-00007.jpg (467.98 KiB) Viewed 19079 times

Did you turn that off?

What phone are you using?

If you don't mind can you share the flow I just asked you to create.

Share a screenshot of log too.

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

Posted: 31 Oct 2019 13:22
by Sergey_777-s
icefox56 wrote:
31 Oct 2019 13:05
Is Automagic notification actively showing on your statusbar?
NOTABLE-00007.jpg


Did you turn that off?

What phone are you using?

If you don't mind can you share the flow I just asked you to create.

Share a screenshot of log too.
Automagic in statusbar, all permissions are on. I try to turn off - nothing. Phone xiaomi redmi note 4x. Update: when I start flow and press back, back, back to close automagic the chrome starts OK, but if I start flow and press home button the chrome not starts

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

Posted: 31 Oct 2019 13:29
by Sergey_777-s
My screen shot
Screenshot_2019-10-31-15-25-47-846_ch.gridvision.ppam.androidautomagic.png
Screenshot_2019-10-31-15-25-47-846_ch.gridvision.ppam.androidautomagic.png (139.93 KiB) Viewed 19074 times
Screenshot_2019-10-31-15-25-10-671_ch.gridvision.ppam.androidautomagic.png
Screenshot_2019-10-31-15-25-10-671_ch.gridvision.ppam.androidautomagic.png (96.4 KiB) Viewed 19074 times

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

Posted: 31 Oct 2019 13:31
by Sergey_777-s
Chrome not start but notification shows

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

Posted: 31 Oct 2019 13:40
by icefox56
I think the problem is related to your phone's ROM. This exact flow work fine in Stock ROM 8.1.

@Martin needs to look into it.

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

Posted: 31 Oct 2019 15:02
by Sergey_777-s
icefox56 wrote:
31 Oct 2019 13:40
I think the problem is related to your phone's ROM. This exact flow work fine in Stock ROM 8.1.

@Martin needs to look into it.
Firmware was updated half year ago, but problem only from some days, before all worked fine

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

Posted: 31 Oct 2019 15:16
by icefox56
Backup all your flows. Uninstall Automagic and reinstall. Also delete the "Automagic folder".

And try executing the flow. See how it goes.