Storing of Location Coordinates
Location coordinates are stored on the app at the frequency specified on the server in the Frequency of location tracking setting on the Mobile Configuration page.
By default, location coordinates will be stored on the app, up to the number specified on the server in the Number of un-synched user GPS locations to preserve in mobile device settings. Once that number has been reached, the app will send the data to the server. If the device is able to receive GPS coordinates but does not have network connectivity to send the coordinate records to the server, newly received coordinates will replace the oldest data. This location data is sent to the server the next time the user’s device has network connectivity. This default behavior exists to minimize the number of API calls made to Salesforce using the location tracking feature.
Frequency of location tracking: 10 minutes
Number of un-synched user GPS locations to preserve in a mobile device: 8
Since the app will be collecting location coordinates every 10 minutes and is set to store 8 locations, these stored locations are sent to the server approximately every 80 minutes. This will support scenarios where the user is offline for up to 80 minutes before the records are overwritten.