App open/close trigger doesn't work

Moorhen

Member
I have a newspaper app on which I read the daily paper. When I do, I would like to have the screen timeout set at 2 minutes, but when I don't, it must be 30 seconds. I wanted to use the Open App/Close App trigger, but that doesn't seem to work. When I open the app, the screen timeout stays unchanged.

Trigger
Open app [newspaper app]

Action
Screen timeout = 2 minutes

And the reverse for when I close the app.

What can be the cause? And what constitutes 'opening an app' and more importantly 'closing an app'? I.e. which event makes Macrodroid recognise an app as closed?
 

Dm114

Well-known member
I have a newspaper app on which I read the daily paper. When I do, I would like to have the screen timeout set at 2 minutes, but when I don't, it must be 30 seconds. I wanted to use the Open App/Close App trigger, but that doesn't seem to work. When I open the app, the screen timeout stays unchanged.

Trigger
Open app [newspaper app]

Action
Screen timeout = 2 minutes

And the reverse for when I close the app.

What can be the cause? And what constitutes 'opening an app' and more importantly 'closing an app'? I.e. which event makes Macrodroid recognise an app as closed?
The 'open app' trigger should work: I use it to modify screen timeout too and it works fine.

To MD, an app is 'closed' even when it goes from foreground to background and will 'open' again when it comes back from background to foreground.
 

MacroDroidDev

Administrator
Staff member
It sounds like what you have done is correct, so it's hard to say why it's not working for you. Can you check if the macro is actually triggering by looking in the system log. The app launch/close trigger has an alternative setting which uses a different mechanism in case for some reason the standard mechanism is not correctly detecting this app launch/close, give that a try.
 
Top