GeoFencing
  • 08 Nov 2024
  • 5 Minutes to read
  • PDF

GeoFencing

  • PDF

Article summary

Scalefusion Dashboard enables IT admins to track the movement of devices in and out of defined boundaries. This can be achieved through the Geofence feature. Geofence lets you create a virtual fence around a geographical region that helps in tracking the movement of Scalefusion-managed devices in and out of the fence.

Geofences can be applied on Android, iOS, macOS and Windows devices. Scalefusion allows the creation of two types of geofences, viz. circular and polygonal. The document below explains how you can create geofences, apply them on devices and other features related to it.

Prerequisites

  1. Devices should be enrolled with Scalefusion.
  2. You should be subscribed to a Business or Enterprise plan.
  3. Requires following client versions for multiple geofence features:
    1. Scalefusion Android client: v4.0.0 & above 
    2. iOS client: v2.3.0 & above 
    3. macOS Agent application: v1.1.0 & above
    4. Windows MDM agent: v15.6.0 or above
  4. Polygonal geofence requires Scalefusion Android client v8.7 & above, iOS client 3.0.0 & above, macOS Agent application (1.1.0 & above) and Windows MDM agent v15.6.0 or above.
  5. On Mac devices, Location permissions and notification permissions should be granted.
  6. Windows
    1. It is recommended that location is enabled on the device.
    2. Device must be connected to WiFi

Creating a Circular Geofence

  1. On the Scalefusion Dashboard, navigate to Locations & Geofencing > GeoFencing
  2. Click on New Geofence



  3. Search Location: Type in the address to bring up a region on the map below.


  4. Alternatively, click and drag the circle at the desired location on the map. Once the location is marked, a prompt appears on the right side panel with Radius, Latitude and Longitude details of the selected area.


  5. If you want to re-adjust the geofence area, drag the center point of the circular area on the map to move the location and drag the right handle to adjust the radius. Radius, Latitude and longitude details can also be changed from the respective fields on the right.


  6. Enter a Name for the geofence and click Save.

Creating a Polygonal Geofence

In certain locations, circular geofence does not serve the complete purpose like for a school complex or factory area. You can create a polygonal geofence to define the geofence area more explicitly.

  1. On the Scalefusion Dashboard, navigate to Locations & Geofencing > GeoFencing
  2. Click on New Geofence
  3. In the Select Type drop-down on the right, select Polygonal
    By default, it is the circular type of geofence that is selected.
  4. Click on the map to draw a polygon of the area to be marked under geofence. Requires a minimum of 3 points to be selected. To close the shape, click on the first point.
    In the search location box, you can enter the address to bring up a region on the map below and then select location points.
  5. Once the location is marked, a prompt appears on the right-side panel with the Latitude and Longitude details of each point. If you want to remove a particular location point, click on the Delete icon next to it.
  6. On the map, drag the polygonal points if you want to re-adjust the geofence area or add additional points. Notice the lat and long details get automatically updated as you drag the points.

  7. Enter a Name for the geofence and click Save.

Applying Geofence

Once you have created a geofence, apply it to devices or device groups. To do so,

  1. Click on the Apply button on the top right. This opens the Apply geofence dialog.

  2. Select the Device Groups or Devices and click Apply
  3. The geofence gets applied.
  4. You can view the status by clicking on the Published status placed before the Apply button. The Active status implies that the geofence has been applied on selected devices/device groups.

Checking device activity

The logs are captured based on the activity of the device if a device enters a fenced area, it is considered as moved in, and when it exits the fenced area, it is moved out. To check logs,

  1. Go to the geofence and click on View Logs on the top bar. This opens the Geofence logs window showing the timestamp and date with the status when the device moved in or out of the geofence area. This is shown for one particular geofence.
  2. Logs can also be viewed from the main section, where all geofences are listed. From here, you can see the activities of devices for all geofences.

Here, the geofences can also be filtered on the basis of various filters available.


Deleting a geofence

If you want to delete the complete geofence, click on the deleteicon below the geofence in the main section where all geofences are listed. Once deleted, it cannot be recovered.


Remove/Unpublish Geofence

To remove the geofence from a select few device groups/devices, click on the delete icon on top inside the geofence, select the device groups/devices from which you want to remove the geofence and click Remove.

Only those device groups/devices will be listed on which Geofence is already applied.



Other features

  1. Edit: At any point in time, you can edit a geofence by clicking on the Edit icon, making changes to name/type/location and clicking Update.
  2. Make a Copy: You can also create a copy of the geofence. This helps in minimizing the effort of recreating a new geofence from scratch. Click on the Make a copy icon below the geofence or Make a copy on the top bar inside a geofence, and a copy of it gets created. You can make changes if required or save it as is. Notice that the geofence name has a copy word appended to it if you have created a copy.

Once geofences are created and applied, different device policies can be applied on Android devices based on geofence events (move in and move out). This can be achieved through Geofence-based Switch Profile workflow.

Known Behaviors

macOS

  1. On Mac devices, Location cannot be tracked if the device is in sleep mode or the device's lid is closed. As a result, geofences, even if applied, will not work.

Windows

  1. WebKit Location API: 
    1. Inaccurate Location Data: If a device is in sleep mode or the user is logged out, the WebKit method may not be able to accurately capture the device's location.
    2. Delayed Updates: When using WebKit as the Location API, changes to geofence settings may not be immediately reflected after a user logs out and then logs back in. There might be a delay until the system updates the database and applies the new settings.
  2. Location Tracking with other APIs: 
    1. If you choose to use alternative location APIs like .NET API or WinRT, changes to geofence settings will be applied even when the user is logged out. This ensures consistent and accurate location tracking, regardless of the user's device state.
  3. Enabling Location Services on LTSB Devices: 
    1. As LTSB machines have restricted access to registry settings, you need to allow location services from Scalefusion Dashboard:
      1. Navigate to Device Profile > Settings > Advanced Settings > General Settings > Security and Search > Location Services.
      2. Allow Location Services: Enable this setting to permit location tracking on the device.
  4. Multi-App Kiosk (MAK) and Single App Mode (SAM) in Modern Management (MM) mode:
    1. MAK-MM: The messages for compliance will pop-up on the screen only when applications are running else not.
    2. SAM-MM Mode: 
      1. Actions like Keep Ringing and notification sounds for workflow alerts may not function as expected.
      2. Devices may not be blocked as intended when they move out of a geofence. Instead, the user might be automatically signed out.



Was this article helpful?

What's Next