Trigger: Accessibility Service State

This trigger fires when an accessibility service is enabled or disabled on the device. You can monitor any accessibility service or limit the trigger to specific services.

Options

  • Enabled - Trigger when a selected service is enabled
  • Disabled - Trigger when a selected service is disabled
  • Services to Monitor - Optionally select one or more accessibility services; leave unset to match any service

Examples

Example 1: Notify if an accessibility service is disabled

Triggers

Accessibility Service State - Disabled
Actions

Display Notification: "An accessibility service was disabled"

Example 2: Track when accessibility services are enabled

Triggers

Accessibility Service State - Enabled (Selected services)
Actions

Set Variable: [accessibility_state] = "enabled"
Write to File - Append "Accessibility enabled at {hour}:{minute}" to access_log.txt

Notes

  • Some devices may disable accessibility services automatically; this trigger can be used to alert you when that happens

See Also

Accessibility Service Action