Constraint: VPN State

Revision as of 14:06, 9 January 2026 by MacroDroidDev (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This constraint allows or prevents a macro/feature from running based on the current VPN state.

Options

  • Connected: Constraint passes only when a VPN is connected
  • Disconnected: Constraint passes only when no VPN is connected

Example

Example 1: Open a banking app only when VPN is connected

Triggers

Widget Button
Actions

Launch Application: Banking
Constraints

VPN State - Connected

See Also