Skip to main content

iOS Tracking SDK

The Sovereign Solutions iOS Tracking SDK (Sovereigniostracking) allows developers to add verified background location tracking to native iOS applications, in Swift. It collects location in foreground and background. Terminated-state collection is not possible on iOS - this is a platform limitation, not an SDK gap.


Purpose and goals of the SDK​

The iOS Tracking SDK exists so that your team does not have to build reliable background location collection and offline sync from scratch. It authenticates against your Sovereign Solutions tenant using an API key and username, and pushes journey and event data to your configured endpoint.

Overview of the SDK features and capabilities​

  • Background location collection - foreground and background collection via SSBackgroundGeolocation.
  • Start / stop tracking - initSDK() + startTracking(), stopTracking().
  • State queries - getState().
  • Offline sync - sync() pushes queued offline locations.
  • Token refresh - refreshAccessToken().
  • Teardown - destroy().

Continue to Get Started to add the SDK to your project.