Android Migration Guide to SDK 3.0.0+

This guide outlines the key changes between the deprecated raxeltelematics and the new telematicssdk. It provides a step-by-step comparison of deprecated methods and their replacements, along with migration instructions.

To migrate android telematicssdk to v3.0.0 from v2+ follow next steps:

  1. Change imports starting from com.raxeltelematics.v2.sdk to com.telematicssdk.tracking

Old methods

import com.raxeltelematics.v2.sdk...

New methods

import com.telematicssdk.tracking...
  1. Add next source code to Gradle file into Android section.

If you use build.gradle.kts version, then add:

android {
    // Other settings...

    packaging {
        resources {
            excludes += setOf(
                "META-INF/INDEX.LIST",
                "META-INF/io.netty.versions.properties"
            )
        }
    }
}

If you use gradle.gradle version, then add:

android {
    // Other settings...

    packagingOptions {
        exclude 'META-INF/INDEX.LIST'
        exclude 'META-INF/io.netty.versions.properties'
    }
}