Location get

An action block that gets the current device location, geographic coordinate.

If the proceed option is set to Maybe immediately, then the fiber will only proceed immediately if the known location fix is younger that the maximum fix age, otherwise the fiber will pause until a fresh fix has been acquired. If set to When changed, then the fiber will pause until the location has changed by at least the minimum distance.

The GPS and High accuracy providers may not be able to acquire a location fix while the device is indoors, since the GPS needs a clear view of the sky.

Note! Using “task killer” or “wake-lock blocker” apps on the Google Play Services or Automate may interfere with location reporting, so may the Android 5+ Power save mode and Android 6+ Battery optimization.

Options

Input arguments

Output variables