Migration Guide 2.1
Migration SDK from old versions
This section provides a comprehensive description of the API changes that occur during the upgrade. It is highly recommended to review this documentation when upgrading the SDK version in order to understand the differences in the API and make the necessary updates to your API calls according to the version disparities.
Migration to version 2.1.0
New Cocoapods-art Sources
Now we use new source telenav-cocoapods-releases instead of telenav-cocoapods. need to update your podfile as follows:
1 2 3 | |
Support New Trip Rating
Now a transition in object representation occurred with the replacement of the TripRating object by the Rating object. The TripRating object, previously employed to manage ratings associated with trips, has been supplanted by the Rating object, which now assumes the responsibility for handling and representing trip-related ratings.
In the AggregatedSafetyScore object:
- Add new field
tripsRatingto describes the trip rating under current safety algorithm.
Support Cloud Safety Score
Now you can retrieve server-side safety score by using ConnectionMode Cloud.
Note
On cloud mode, ensure connection to an available network.
1 2 3 4 | |
1 2 3 4 | |
New Field For Event Details
Road information added for safety event details, Now the Loction object inside the Safty Event has a new label field, which you can now retrieve.