Skip to content

Migration Guide 3.0

Migration SDK from Old Versions

This section provides a detailed description of API changes introduced or removed in recent SDK upgrades.
We strongly recommend reading this documentation when upgrading the SDK version to understand the differences and update your API calls accordingly.

Migration to Version 3.0.0

TNAggregatedScoreCall Removed

The TNAggregatedScoreCall API is removed since 3.0.0 and the classes(TNAggregatedScoreRequest, TNAggregatedScoreResponse) associated with this API has also been removed, which are no longer available in the SDK.

TNGetCumulativeScoreCall Removed

The TNGetCumulativeScoreCall API is removed since 3.0.0 and the classes(TNGetCumulativeScoreRequest, TNGetCumulativeScoreResponse) associated with this API has also been removed, which are no longer available in the SDK.

TNGetLatestTripDetailResponse Field Removed

The TNGetLatestTripDetailResponse has removed the field trip.score that is no longer available in the SDK.

TNGetLiveTripDetailResponse Field Removed

The TNGetLiveTripDetailResponse has removed the field liveTrip.score that is no longer available in the SDK.

TNGetTripDetailResponse Field Removed

The TNGetTripDetailResponse has removed the field trip.score that is no longer available in the SDK.

TNGetTripsResponse Field Removed

The TNGetTripsResponse has removed the field trips[x].score that is no longer available in the SDK.

Analytics APIs With Score Response

The safetyScore field, which was previously marked as deprecated, has now been removed from the Analytics API score object, and use score field instead.

Event Change

The TripScore event has removed to send cloud for coaching score no longer supported.

DriveMotionDelegate Change

The onDriveScoreUpdated method has removed from the delegate, which is no longer available in the SDK.

Please make sure your code no longer relies on the removed classes, methods, or fields mentioned above, and make timely adjustments to ensure proper operation after upgrading.
If you have further questions, please refer to the full developer documentation or contact the SDK technical support team.