Migration Guide 2.25
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.25.0
API Update: Get Trips
The Get Trips
API now performs stricter parameter validation and will throw exceptions during request building under the following conditions:
limit < 1
orlimit > 100
start date > end date
offset < 0
Please refer to the sample code below for creating a valid request:
1 2 3 4 5 6 7 8 |
|
Third-Party Library Compatibility
Support for ReachabilitySwift
5.2.4
Starting from this SDK version, we officially support ReachabilitySwift 5.2.4 for network reachability monitoring.
Important:
If your project already integrates theReachabilitySwift
library, please ensure that you upgrade to version 5.2.4.
Using a different version may result in dependency conflicts.
How to update ReachabilitySwift:
- If using CocoaPods, update your Podfile:
pod 'ReachabilitySwift', '5.2.4'
- If using Swift Package Manager, specify version 5.2.4 in your dependencies.
If you have any questions or encounter issues during the migration, please refer to the official documentation or contact our support team.