Migration Guide 2.19
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.19.x
The SDK introduces several new features and updates to enhance functionality and improve user experience.
Support tripSelectionStatus
for GetTrips API in cloud mode
The GetTrips
API now supports a new parameter, tripSelectionStatus
, when operating in cloud mode. This parameter allows filtering trips based on their selection status.
Add MigratePeripherals
API
A new API, MigratePeripherals
, has been introduced to facilitate the migration of peripherals between phones or users. This API ensures a smooth transition of peripheral data and associations. For more details, refer to the API Usage documentation.
Add isConnected
, create_datetime
tripInfo
attribute in the TNPeripheral for GetRecommendedPeripherals API
The GetRecommendedPeripherals
API response now includes a new attribute, isConnected
. This attribute indicates whether a peripheral is currently connected.
The peripheral data now includes a create_datetime
attribute, which records the creation timestamp of the peripheral. This addition helps in tracking and managing peripheral lifecycle events.
The peripheral data structure has been updated to include a tripInfo
attribute. This attribute provides detailed information about the trips associated with the peripheral.