Difference between revisions of "Constraint: Application Running"
m |
m |
||
Line 2: | Line 2: | ||
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | ||
This constraint can be used to allow/prevent functionality from running, depending whether one or more apps are or are not currently running. | This constraint can be used to allow/prevent functionality from running, depending whether one or more apps are or are not currently running. | ||
− | </pre | + | </pre> |
<span style="color: #0E9549; font-size: 24px;">'''Please note that'''</span> | <span style="color: #0E9549; font-size: 24px;">'''Please note that'''</span> | ||
<pre style="background-color: #FFFF99; color: #112A46; border-radius: 10px; padding: 10px;">Note that on Android 8+ due to restrictions you can only determine if the app is opened in foreground or not and not if it is actually running or not in the background.</pre> | <pre style="background-color: #FFFF99; color: #112A46; border-radius: 10px; padding: 10px;">Note that on Android 8+ due to restrictions you can only determine if the app is opened in foreground or not and not if it is actually running or not in the background.</pre> |
Revision as of 21:17, 16 February 2024
About this restriction
This constraint can be used to allow/prevent functionality from running, depending whether one or more apps are or are not currently running.
Please note that
Note that on Android 8+ due to restrictions you can only determine if the app is opened in foreground or not and not if it is actually running or not in the background.