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:
- 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...
- 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'
}
}
Updated 2 days ago