The GPS Enabled/Disabled trigger fires when the GPS-based location service is turned on or off on the device. This allows you to automate actions based on changes to the device's GPS/location provider state.

Options

  • GPS Enabled: Trigger fires when GPS/location services are turned ON
  • GPS Disabled: Trigger fires when GPS/location services are turned OFF

Examples

Example 1: Notification When GPS Disabled

Triggers

GPS Disabled
Actions

Popup Message - GPS has been disabled

Shows a popup notification when GPS is turned off.

Example 2: Start Location Logging When GPS Enabled

Triggers

GPS Enabled
Actions

Set Variable - gps_enabled = true
Enable Macro - Location Logger

Sets a variable and enables a location logging macro when GPS is turned on.

Notes

  • This trigger monitors the PROVIDERS_CHANGED_ACTION broadcast from the Android LocationManager.
  • It responds to changes in the GPS provider state, not the overall location services setting.
  • The trigger fires on state changes, not the current state. Use a GPS constraint if you need to check the current GPS state.

See Also