Trigger: Application Launched/Closed

Revision as of 21:38, 18 February 2024 by JosueGd (talk | contribs) (JosueGd changed the content model of the page Trigger: Application Launched/Closed from "wikitext" to "CSS")
===<p><b>When is this trigger activated?</b></p>===

<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
This trigger will fire when an application becomes the foreground application (launched) or when it is no longer the foreground app (closed).</pre>

* ''When this trigger is present, you can use more [...]'' ''[https://macrodroidforum.com/wiki/index.php/Magic_text#Application_Launched.2FClosed magic text]''

<br>

==<p><b>Supported configurations</b></p>==

=== App Launched/Closed ===
'''''They share the same options.'''''
* Select application(s): It will be activated when one or more applications are started or closed.

* Enter package name: It will be activated when the application package is started or closed, you can get it from some variable or magic text [...] ''[https://macrodroidforum.com/wiki/index.php/Magic_text#Application_Launched.2FClosed magic text]''
=== Force legacy mechanism ===
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Try this option if you have issues with the new application launched trigger implementation, or don't want to enable Accessibility access for MacroDroid.
</pre>

* '''''Prevent notifications interfering:'''''
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Swiping down the status bar may interfere with this trigger. This option prevents this interference but may cause issues with the trigger on some devices.
</pre>

* '''''More information about this:'''''
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Due to changes to Android, there is a faster method with the use of accessibility services, however it is still possible to avoid accessibility services by ticking the box 'force legacy system'
Accessibility can be granted by following the steps in the popup or by pressing the notification that appears from MacroDroid.
Any other issues, please consult the Troubleshooting section under the left hamburger menu from the MacroDroid home screen.
</pre><br>