IMS SDK Product Document
  • Getting Started
    • iOS
      • Requirements
      • Importing the SDK
      • Permissions
      • Initializing the SDK
      • Using the SDK
        • Using Push Notifications
          • Push notification certificate and profile creation guide
    • Android
      • Requirements
      • Import the SDK
      • Permissions
      • Obfuscation
      • Initialize the SDK
      • Using the SDK
        • Trip Detection and Recording
          • Trip Manager Configuration
            • Using TripDetector.AWARENESS
            • Trip Manager Device Support
          • Trip Manager Control
          • Trip Manager Status
        • Bluetooth and Other Devices
    • React Native
      • Requirements
      • Import the SDK
      • Permissions
      • Initialize the SDK
        • Android
        • iOS
      • Using the SDK
        • Trip Manager
        • Device service
    • Flutter
      • Requirements
      • Import the SDK
      • Permissions
      • Initialize the SDK
      • Using the SDK
  • Security
  • App misuse
  • Time Driven Without Phone
  • DriveSync Portal
    • Requirement
    • User
    • Device
    • Driving Alert
    • Push Notification
    • Invitations
    • Subscription
    • Trip
    • Location
    • Driving Summary
    • Discount
    • Scoring
    • Vehicle
    • Leaderboard
    • Rewards
    • Submit consent to EULA
    • Legal documents and FAQ
    • Named Driver
    • Wedge
  • Known Issues
    • iOS
    • Android
      • 1.17.0
      • 1.18.0
      • 1.22.0
  • Releases
    • 1.13.0
      • iOS
      • Android
    • 1.14.0
      • Android
    • 1.15.0
      • iOS
      • Android
    • 1.15.1
    • 1.16.0
      • iOS
      • Android
    • 1.17.0
      • iOS
      • Android
    • 1.18
      • iOS
      • Android
    • 1.18.1
    • 1.19.0
      • iOS
      • Android
    • 1.20.0
      • Android
      • iOS
    • 1.21.0
      • Android
      • iOS
    • 1.22.0
      • Android
      • iOS
    • 1.23.0
      • Android
      • iOS
    • 1.24.0
      • Android
      • iOS
    • 1.24.1
      • iOS
  • Migration
    • iOS
      • 1.15.x -> 1.16.0
      • 1.16.0 -> 1.17.0
      • 1.17.0 -> 1.18.0
      • 1.18.0 -> 1.19.0
      • 1.19.0 -> 1.20.0
      • 1.20.0 -> 1.21.0
      • 1.21.0 -> 1.22.0
      • 1.22.0 -> 1.23.0
      • 1.23.0 -> 1.24.0
      • 1.24.0 -> 1.24.1
    • Android
      • 1.15.x -> 1.16
      • 1.16 -> 1.17
      • 1.17 -> 1.18
      • 1.18 -> 1.19
      • 1.19 -> 1.20
      • 1.20 -> 1.21
      • 1.21 -> 1.22
      • 1.22 -> 1.23
      • 1.23 -> 1.24
  • Support
Powered by GitBook
On this page
  • Breaking Changes
  • New Features
  • Known Issues
  1. Releases
  2. 1.16.0

Android

Here is a summary of the changes, fixes, and additions in IMS SDK release 1.16:

Breaking Changes

  • The SDK is changing to a configuration-based model. Apps will soon be able to configure the SDK once and forget about it instead of having to configure and initialize it every time. To do this we need to revise the initialization process

    • Refer to the migration guide for sample code.

New Features

  • Trip manager configuration and SDK initialization have changed: See Breaking Changes

    • Trip manager can now be configured with no detector(s) and/or validator(s), such as for when your app controls trip start and stop programmatically.

    • The trip manager now uses separate, explicit flag types for trip detectors and validators, and the trip notification factory now uses functions with explicit names.

  • User queries now return a list of the vehicle IDs associated with each user. The full list is available through User.vehicles, the list of vehicles owned through User.vehiclesOwned, and the list of vehicle operated through User.vehiclesOperated

  • Retrieving scoring average and aggregate by vehicle

  • Retrieving discount by vehicle

  • Fixed a runtime crash with distracted driving if user revokes phone status permission between trips on Android 12 and later

Known Issues

  • Recent changes in Google's play-services-location library can cause problems with SDK 1.16 and earlier. You should restrict the version to no later than 20.0.0:

    implementation 'com.google.android.gms:play-services-location:20.0.0'
  • ProGuard/R8 If you are using SDK Bluetooth (Device) libraries, you need to add this line in your proguard-rules file : -keep class com.drivesync.android.devices.** { *; }

PreviousiOSNext1.17.0

Last updated 1 year ago