Skip to content

Migration Guide 2.10

Migration SDK from old versions

This section will provide a detailed description of the API changes during the upgrade. We strongly recommend reading this documentation when upgrading the SDK version to understand the API differences and update your API calls accordingly based on the version disparities.

Migration to version 2.10.0

Support Xcode 16

Now new SDK version support Xcode 16 build.

Note

if use Xcode 16, maybe need update cocoapods version to 1.16.0.

Support Feed External GPS API

Now new SDK support a new data source API, sendLocation(_ location: CLLocation?), Initialize sdk with drive motion setting isUseExternalGPS = true when use this API.

1
    TNDriveMotionService.getDataSourceClient().sendLocation(#CLLocation#);
1
    [[TNDriveMotionService getDataSourceClient] sendLocation:#CLLocation#];