Migration Guide 2.26
Migration SDK from Old Versions
This section provides a detailed description of API changes introduced 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 2.26.0
GetCumulativeSafetyScore Add scoreBaseTime
A parameter named scoreBaseTime
has been added to control the calculation of the CumulativeSafetyScore
based on the start period of trip collection. The GetCumulativeSafetyScore
API now performs stricter parameter validation and will throw exceptions during request building under the following conditions:
startDate == nil
orendDate == nil
startDate > endDate
scoreBaseTime > startDate
Please refer to the sample code below for creating a valid request:
1 2 3 4 5 6 7 8 9 10 11 12 |
|
GetTripDetail Remove isPredict
The GetTripDetail
API response has removed the isPredict
attribute.
Third-Party Library Compatibility
Fork SQLite.swift/SQLiteMigrationManager.swift
to internal Bitbuket.
How to update SQLite.swift/SQLiteMigrationManager.swift:
- If using CocoaPods, update your Podfile:
- pod 'SQLite.swift', "0.15.4-tn.rc.2"
- pod 'SQLiteMigrationManager.swift', '0.8.3-tn.rc.3'
If you have any questions or encounter issues during the migration, please contact our support team.