LogoLogo
SentianceInsights-Control-TowerLegacy DocsImportant Security Notice
  • Introduction
  • Integrating the SDK
    • Getting Started
    • Android Quick Start
      • 1. Including the SDK
      • 2. Initialization
      • 3. User Creation
      • 4. Enabling Detections
      • 5. SDK Status Updates
      • 6. Permissions
      • 7. Additional Requirements
    • iOS Quick Start
      • 1. Including the SDK
        • Using CocoaPods
        • Using Carthage
        • Using Swift Package Manager
        • Manual Integration
      • 2. Project Settings
      • 3. Initialization
      • 4. User Creation
      • 5. Enabling Detections
      • 6. SDK Status Updates
      • 7. Permissions
      • 8. Additional Requirements
    • React Native Quick Start
      • 1. Including the SDK
      • 2. Configuration
      • 3. Initialization
      • 4. User Creation
      • 5. Enabling Detections
      • 6. SDK Status Updates
    • Flutter Quick Start
      • 1. Including the SDK
      • 2. Configuration
      • 3. Initialization
      • 4. User Creation
      • 5. Enabling Detections
      • 6. SDK Status Updates
    • What Comes After Integration
    • Integration (FAQ)
    • Detections (FAQ)
  • Sentiance Insights
    • Overview of Sentiance Insights
      • Driving Insights
        • Transports
        • Driving Events and Scores
        • Car Crashes
      • Mobility and Lifestyle Insights
        • Visit Essentials
        • User Segmentation
    • Engagement
      • User Adaptive Score
      • Streaks
      • Challenges
      • Reward System
      • Communication Campaign
      • Social Groups
        • Technical Details
    • Accessing Sentiance Insights
      • via On Device API
      • via Cloud API
      • via Firehose - Realtime Messages
      • via Offloads
  • FAQ
    • Security, Privacy and Terms of Service (FAQ)
  • Important topics
    • SDK
      • Appendix
        • Android
          • Android 10 Update Behavior
          • Android Battery Optimization
          • Artifacts & Dependencies
          • Manifest Permissions
          • Notification Management
          • Sample Notification
          • Supported API Levels
        • iOS
          • App Store Privacy Section
          • App Store Release
          • Apple Privacy Manifest
          • ARM Simulator Support
          • Dependencies
          • iOS 13 permission changes
          • Supported iOS Versions & Architectures
          • Swift Support
          • v5.x Framework Files
          • v6.x Framework Files
        • Controlled Detections
          • Automatic Detections
          • Automatic Detections with Forced Trips
          • Controlled Trips Only
          • Checking Trip Status
        • Control Sending Data
        • Custom User Metadata
        • Detecting Vehicle Crashes
        • Feature Production Readiness
        • Migration Guide
          • Android
          • iOS
          • React Native
          • Flutter
        • On-Device Features
        • React Native
        • SDK Initialization
        • User Access Token
        • User Creation
        • User Linking
        • Xamarin
      • API Reference
        • Android
          • AsyncInitializationError
          • AsyncInitializationResult
          • DateTime
          • DetectionStatus
          • DisableDetectionsError
          • DisableDetectionsResult
          • Driving Insights
            • CallWhileMovingEvent
            • DrivingInsight
            • DrivingInsightsApi
            • DrivingInsightsReadyListener
            • HarshDrivingEvent
              • Type
            • PhoneUsageEvent
            • SafetyScores
            • SafetyScoreRequestParameters
              • Builder
              • OccupantRoles
              • Period
              • TransportModes
            • SpeedingEvent
          • Smart Geofences
            • DetectionMode
            • SmartGeofence
            • SmartGeofenceApi
            • SmartGeofenceEvent
              • Type
            • SmartGeofenceEventListener
            • SmartGeofencesRefreshError
              • SmartGeofencesRefreshFailureReason
            • SmartGeofencesRefreshResult
          • EnableDetectionsError
            • EnableDetectionsFailureReason
          • EnableDetectionsResult
          • EventTimeline
            • EventType
            • TransportMode
            • Event
              • OffTheGridEvent
              • StationaryEvent
              • TransportEvent
              • UnknownEvent
            • EventTimelineUpdateListener
            • EventTimelineApi
            • OccupantRole
            • Venue
              • VenueType
              • VenueSignificance
          • Feedback
            • FeedbackApi
            • OccupantRoleFeedback
            • OccupantRoleFeedbackResult
          • GeoLocation
          • InitializationResult
            • InitializationFailureReason
          • InitState
          • MetaUserLinker
          • MetaUserLinkerAsync
          • MetaUserLinkerCallback
          • OnInitCallback
            • InitIssue
          • OnSdkStatusUpdateHandler
          • OnStartFinishedHandler
          • PendingOperation
            • OnSuccessListener
            • OnFailureListener
            • OnFailureListener
            • OnCompleteListener
          • ResetCallback
            • ResetCallback.ResetFailureReason
          • ResetError
            • ResetFailureReason
          • ResetResult
          • SdkConfig
            • LocationPermission
            • Builder
          • SdkException
          • SdkStatus
            • LocationSetting
            • Quota Status
            • StartStatus
          • SdkStatusUpdateListener
          • Sentiance
          • SentianceOptions
            • SentianceOptions.Builder
          • StartTripError
            • StartTripFailureReason
          • StartTripResult
          • StationaryInfo
          • StopTripError
            • StopTripFailureReason
          • StopTripResult
          • SubmitDetectionsCallback
          • SubmitDetectionsError
            • SubmitDetectionsFailureReason
          • SubmitDetectionsResult
          • Token
          • TokenResultCallback
          • TransmittableDataType
          • Transport Sessions
            • SensorDataChunk
            • TransportSession
            • TransportSessionApi
            • TransportSessionListener
          • Trip
            • StartTripCallback
            • StopTripCallback
            • TransportMode
            • TripTimeoutListener
            • TripType
          • TripInfo
          • UserAccessTokenError
            • UserAccessTokenFailureReason
          • UserActivity
          • UserActivityListener
          • UserActivityType
          • UserContext
            • Attribute
            • Segment
              • SegmentCategory
              • SegmentSubcategory
              • SegmentType
            • SemanticTime
          • UserContextApi
            • RequestUserContextFailureReason
            • RequestUserContextError
            • UserContextUpdateCriteria
            • UserContextUpdateListener
          • UserCreationError
            • UserCreationFailureReason
          • UserCreationOptions
            • UserCreationOptions.Builder
          • UserCreationResult
            • UserInfo
          • UserLinker
          • UserLinkerAsync
          • UserLinkerCallback
          • UserLinkingError
            • UserLinkingFailureReason
          • UserLinkingResult
          • VehicleCrashDetection
            • CrashDetectionApi
            • CrashDetectionState
            • VehicleCrashDiagnostic
            • VehicleCrashEvent
            • VehicleCrashDiagnosticListener
            • VehicleCrashListener
            • VehicleCrashSeverity
          • Waypoint
        • iOS
          • Detections
            • Enable Detections
            • Disable Detections
          • Driving Insights
            • SENTCallWhileMovingEvent
            • SENTDrivingInsights
            • SENTDrivingInsightsReadyDelegate
            • SENTHarshDrivingEvent
              • HarshDrivingEventType
            • SENTPhoneUsageEvent
            • SENTSpeedingEvent
            • SENTSafetyScores
            • SafetyScoreRequestParameters
              • SafetyScoreRequestOccupantRoleOption
              • SafetyScoreRequestPeriod
              • SafetyScoreRequestTransportModeOption
          • Event Timeline
            • EventTimelineDelegate
            • SENTOccupantRole
            • SENTTimelineEvent
              • SENTOffTheGridEvent
              • SENTStationaryEvent
              • SENTTransportEvent
              • SENTUnknownEvent
            • SENTTimelineEventType
            • SENTTimelineTransportMode
            • SENTVenue
            • SENTVenueSignificance
            • SENTVenueType
          • Feedback
            • SENTFeedback
            • SENTOccupantRoleFeedback
            • SENTOccupantRoleFeedbackResult
          • SENTCompletionHandlers
          • SENTConfig
          • SENTDate
          • SENTGeolocation
          • SENTAsyncInitializationCompletionHandler
          • SENTAsyncInitializationError
          • SENTAsyncInitializationResult
          • Sentiance
          • SENTInitializationResult
          • SENTOptions
            • SENTOptionsInitPurpose
          • SENTPublicDefinitions
          • SENTSDKStatus
          • SENTToken
          • SENTTransmittableDataType
          • SENTUserActivity
          • SENTVehicleCrashDetectionState
          • SENTVehicleCrashDiagnostic
          • SENTVehicleCrashEvent
            • SENTVehicleCrashSeverity
          • SENTWaypoint
          • Smart Geofences
            • SENTSmartGeofencesRefreshHandler
            • SmartGeofenceDetectionMode
            • SmartGeofencesRefreshError
              • SmartGeofencesRefreshFailureReason
            • SmartGeofencesRefreshResult
            • SmartGeofence
            • SmartGeofenceEvent
              • SmartGeofenceEventType
            • SmartGeofenceEventDelegate
          • Transport Sessions
            • SENTAccelerometerDataIterator
            • SENTLocationDataIterator
            • SENTSensorDataChunk
            • SENTTransportSession
          • User Context
            • SENTAttribute
            • SENTRequestUserContextCompletionHandler
            • SENTRequestUserContextError
            • SENTRequestUserContextFailureReason
            • SENTSegment
              • SENTSegmentCategory
              • SENTSegmentSubCategory
              • SENTSegmentType
            • SENTSemanticTime
            • SENTUserContext
            • SENTUserContextDelegate
            • SENTUserContextUpdateCriteria
          • User Creation & Linking
            • SENTUserInfo
            • User Creation
              • SENTUserCreationResult
              • SENTUserCreationFailureReason
              • SENTUserCreationError
              • SENTUserCreationCompletionHandler
              • SENTUserCreationOptions
            • User Linking
              • SENTNoOpUserLinker
              • SENTUserLinkingResult
              • SENTUserLinkingFailureReason
              • SENTUserLinkingError
              • SENTUserLinkingCompletionHandler
              • SENTUserLinker
        • React Native
          • core
            • Definitions
            • Examples
          • crash-detection
            • Definitions
            • Examples
          • driving-insights
            • Definitions
            • Examples
          • smart-geofences
            • Definitions
            • Examples
          • event-timeline
            • Definitions
            • Examples
          • legacy
            • Definitions
            • Examples
          • user-context
            • Definitions
            • Examples
        • Flutter
      • Battery Optimization on Android
      • How To
        • Check the Location Permissions
        • Utilize the Event Timeline API
        • Utilize the Driving Insights API
        • Utilize the User Context API
        • Utilize the Smart Geofences API
      • Troubleshooting
        • Android
        • iOS
      • Changelog
        • Android
        • iOS
        • React Native
        • Flutter
    • Authentication and Authorization
    • User Creation (via Authentication Code)
    • User Deletion
    • PlayStore Location Access Review
    • Privacy Report & Dashboard
    • Crash Detection
    • Important Security Notice
    • Injecting Fake Data
    • Custom Aggregation For Analytics
    • Merging Scores for Motorcycles and Cars
  • Links
    • SDK Standard License
    • Insights-by-Sentiance Application
    • Insights-by-Sentiance Privacy Policy
    • Journeys License
    • Technical & Organizational Measures
Powered by GitBook
On this page
  • Version 6.x
  • com.sentiance:sdk-bom
  • com.sentiance:sdk
  • com.sentiance:sdk-breakpad
  • com.sentiance:sdk-on-device-common
  • com.sentiance:sdk-crash-detection
  • com.sentiance:sdk-event-timeline
  • com.sentiance:sdk-venue-mapper
  • com.sentiance:sdk-user-context
  • com.sentiance:sdk-segments
  • com.sentiance:sdk-decision-engine
  • com.sentiance:sdk-lifestyle
  • com.sentiance:sdk-driving-insights
  • com.sentiance:sdk-smart-geofences
  • Version 4.x
  1. Important topics
  2. SDK
  3. Appendix
  4. Android

Artifacts & Dependencies

This page lists the Sentiance Android SDK library artifacts with their corresponding dependencies.

Version 6.x

Below are the dependencies of the various Sentiance SDK modules, based on their latest published version.

Sentiance artifacts that depend on each other share a common version number. This is denoted as <sentiance-version> below. Mixing different versions of these artifacts is not supported. You can avoid version conflicts by making use of the SDK's bill of materials (com.sentiance:sdk-bom).

com.sentiance:sdk-bom

This is the bill of materials artifact. You can add a platform dependency to this artifact to avoid version mismatches between different Sentiance artifacts.

build.gradle
dependencies {
    implementation(platform('com.sentiance:sdk-bom:<sentiance-version>'))
    implementation('com.sentiance:sdk')
    implementation('com.sentiance:sdk-crash-detection')
    ...
}

com.sentiance:sdk

This is the core library artifact which offers the main SDK functionality, such as user creation and detections.

Dependencies

com.google.android.gms:play-services-location:18.0.0
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22
com.sentiance:sdk-breakpad:1.0.2

com.sentiance:sdk-breakpad

This library artifact allows the Sentiance SDK to capture and collect information about native app crashes.

You do not need to manually add this artifact as a dependency in your app.

Dependencies

This artifact has no dependencies.

com.sentiance:sdk-on-device-common

This library artifact provides internal SDK functionality that is common among Sentiance's on-device features.

You do not need to manually add this artifact as a dependency in your app.

Dependencies

com.sentiance:sdk:<sentiance-version>
org.tensorflow:tensorflow-lite:v2.16.1-sentiance.1
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22

com.sentiance:sdk-crash-detection

This library artifact adds vehicle crash detection functionality to the SDK, and makes the CrashDetectionApi available to your app.

You must add this artifact as a dependency in your app if you want to enable crash detection.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-on-device-common:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22

com.sentiance:sdk-event-timeline

This library artifact provides internal SDK functionality that is required for creating a user's event-timeline on the device. Other SDK features, such as user context information and segment detection, are built on top of this timeline data.

You do not need to manually add this artifact as a dependency in your app.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-on-device-common:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22

com.sentiance:sdk-venue-mapper

This library artifact provides internal SDK functionality that is required for enriching a user's event-timeline using venue information.

You do not need to manually add this artifact as a dependency in your app.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-event-timeline:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22
org.jetbrains.kotlinx:kotlinx-datetime:0.4.1
org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1
org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1

com.sentiance:sdk-user-context

This library artifact adds the user context SDK functionality, and makes the UserContextApi available to your app. The user's context includes information about the recent timeline events (e.g. transports and stationaries), home and work venues, and the user's segments (if enabled/available).

You must add this artifact as a dependency in your app if you want to access the user's context information. Alternatively, you can add the sdk-lifestyle artifact to enable all lifestyle features, including the user's context.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-venue-mapper:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22

com.sentiance:sdk-segments

This library artifact adds user segment detection functionality to the SDK. Segment data is added to the user's context information (if enabled).

This artifact must be added as a dependency in your app if you want to enable segment detection. However, the recommended approach is to add the sdk-lifestyle artifact to enable all lifestyle features, including segment detection.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-event-timeline:<sentiance-version>
com.sentiance:sdk-venue-mapper:<sentiance-version>
com.sentiance:sdk-decision-engine:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22

com.sentiance:sdk-decision-engine

This library artifact is required by sdk-segments to do segment detection.

You do not need to manually add this artifact as a dependency in your app.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-venue-mapper:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22
org.jetbrains.kotlinx:kotlinx-datetime:0.4.1
org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1
org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1
co.touchlab:stately-common:1.2.5
co.touchlab:stately-concurrency:1.2.5
co.touchlab:kermit-jvm:1.2.2

com.sentiance:sdk-lifestyle

This library artifact adds the full Sentiance lifestyle functionality that is available via the SDK. This includes user event timeline creation, user context information, and user segment detection.

You must add this artifact as a dependency in your app if you want to enable the full lifestyle functionality.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-user-context:<sentiance-version>
com.sentiance:sdk-segments:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22

com.sentiance:sdk-driving-insights

This library artifact adds the driving insights SDK functionality, and makes the DrivingInsightsApi available to your app. The driving insights includes information about detected transports, such as scores for various safe driving attributes (e.g. smooth driving).

You must add this artifact as a dependency in your app if you want to access the driving insights information.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-event-timeline:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22

com.sentiance:sdk-smart-geofences

This library artifact adds the Smart Geofence SDK functionality, and makes the SmartGeofencesApi available to your app. Smart Geofences allow you to monitor points of interest for entry and exit events.

You must add this artifact as a dependency in your app if you want to utilize the Smart Geofences feature.

Dependencies

com.sentiance:sdk:<sentiance-version>
com.sentiance:sdk-event-timeline:<sentiance-version>
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22

Version 4.x

com.google.android.gms:play-services-location:12.0.1
org.tensorflow:tensorflow-lite:2.7.0
PreviousAndroid Battery OptimizationNextManifest Permissions

Last updated 5 months ago