Tracking mobile users based on geolocation data
Record the location of users of offline-enabled mobile apps who work on specific assignments by enabling constant tracking for case types. For example, enable tracking in tasks for service employees in the field so that dispatchers can effectively assign work to the employees based on their current location.
Location recording automatically starts when a case with the constant tracking
functionality appears on the mobile user's worklist. The recorder tracks each case separately
and remains active even when the app is in the background.Result: When you build an offline-enabled app and a case type with
constant tracking appears in a mobile user's worklist, the location recorder runs in the
background and tracks the location of the user while they work on the case. You can enhance
this functionality with a Map control that displays the tracks
of mobile users in a web portal for dispatchers. For example: A mobile app developer for the uPlus company enables geolocation tracking for an
expense claim case type.What to do next:
Location recorder stops in the following scenarios:
- No more cases with constant tracking appear in the user's worklist.
- User logs out of the app (Android and iOS).
- User closes the app (iOS only).
- In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.
- On the Settings tab, click the General category.
- In the Geolocation tracking section, enable tracking for
offline-enabled apps:
- Select the Enable geolocation tracking checkbox.
- Select the Enable constant tracking when app is offline-enabled checkbox.
- Click Save.
- In the offline mode configuration for your app, add the case type in which you enabled constant tracking. For more information, see Enabling case processing in offline-enabled mobile apps.
- Prepare the framework for the visualization of tracking and recorded locations. For more information, see Configuring dynamic system settings for geographic reference and Configuring the Map control.
Previous topic Sending push notifications with the push console Next topic Enhancing a mobile app with the native header