HyperTrack SDK changelog

Updating HyperTrack SDK

In your app's build.gradle file, look for dependencies block as shown below and update SDK version with the stable version. Once SDK version updates, run a gradle sync to import the latest SDK and its dependencies to your project.

In case you're facing Gradle dependency conflict errors, troubleshoot here

[info] build.gradle files

Your project will have two gradle files: one for the app module, and one for the project. Edit the app module file to update the SDK.

dependencies {
    compile("com.hypertrack:android:0.4.19:release@aar") {
        transitive = true;
    }
}

Changelog

SDK v0.4.x (Stable Version: 0.4.19)

0.4.19

0.4.17-0.4.18

0.4.16

0.4.15

0.4.13-0.4.14

  • Now Persistent Notification cannot be disable in Oreo devices.
  • Adds STOP duration in Placeline Activity Card.

0.4.12

0.4.11

  • Adds Location Service Change Event Type to HyperTrackEventCallback. This will helps to get callback whenever location service is disabled or enabled.
  • Improves error log messages.

0.4.10

  • Fixes Unknown pattern character 'X' IllegalArgumentException.

0.4.9

  • Adds Placeline View and HyperTrack.getPlaceline API to get user's activity data in placeline format.
  • Reduces number of API calls to send SDK logs from SDK to server using file upload that leads to lower battery usage.

0.4.6 - 0.4.8

  • Fixes Place Selector suggestion list expand and loading icon issue after click on item from suggestion list.
  • Bug fixes and improvements.

0.4.5

  • Fixes NullPointerException crash in User.getEncodedPolyline when track an unassigned action.

0.4.4

  • Fixes NullPointerException crash in User.getPhone().
  • Deprecates NETWORK_CONNECTIVITY_ERROR and adds NETWORK_UNAVAILABLE and NETWORK DISABLED error type.

0.4.3

  • Adds SDK Session log-off feature: Now if stopTracking is called from your backend, SDK will automatically call stopTracking when it syncs with the HyperTrack Server. Refer here for more details.

v0.4.2

  • Adds UserParams in getOrCreateUser and updateUser APIs. Now you can create and update user using UserParams including name, phone, photo, lookupId and groupId.
  • Fix NullPointerException crash in com.hypertrack.lib.models.HyperTrackLocation.getRecordedAt().

v0.4.1

  • Fix bug due to which SDK not being able to track your users in certain situations.
  • Introduces all new updated Peer-to-Peer location sharing experience .
  • Detects Device Powered off while user is being tracking in the sdk.

SDK v0.3.x

v0.3.30

  • Improves accuracy of Stop detection in the SDK.

v0.3.29

  • Adds collectionId key in Action Params. CollectionId can be used to club a list of actions together. Refer here for more details.
  • Reduces getCurrentLocation API time and fixes issue where location updates don't stop.

v0.3.28

v0.3.26-v0.3.27

v0.3.25

v0.3.24

v0.3.23

v0.3.22

v0.3.21

v0.3.20

v0.3.19

  • Removes methods from HyperTrackMapAdapter.java related to orderStatusToolbar and showOrderDetailsButtonForActionID.

v0.3.18

  • Fixes NullPointerException crash in ConsumerClient.handleActionsRefreshedCallback.

v0.3.16-v0.3.17

  • Adds getDistanceUnit method in Action Model to get the unit of distance travelled.

v0.3.15

  • Adds getETA API to fetch eta from your current location to an expected location. Refer here for more details on usage.

v0.3.12-v0.3.14

  • Bug fixes and improvements.

v0.3.11

  • Adds metadata key in ActionParamsBuilder which allows to add a JSONObject to be associated along with an Action.

v0.3.8-v0.3.10

  • Adds HyperTrack.cancelActionWithLookupId and HyperTrack.completeActionInSync APIs to enable completion of Actions on HyperTrack Server synchronously. These APIs allow mileage information to be available as soon as the Action is marked complete.
  • Removed userID parameter from HyperTrack.updateUser API.
  • Bug fixes and improvements.

v0.3.7

  • Adds HyperTrack.requestPermissions(Activity activity, String message) API to request Location permissions from the user with the given rationale for requesting this permission.
  • Bug fixes and improvements.

v0.3.6

  • Adds HyperTrack.updateUser() API to allow updating a user's details including name, phone number or profile photo etc.

v0.3.5

  • Bug fixes and improvements.
  • Fixes a corner case crash in Live Tracking view (crash in ViewPagerAdapter.toCamelCase()).

v0.3.3-v0.3.4

  • Introduces all new Live Location sharing experience with revamped UI and UX.
  • [BETA] Adds an option to disable SDK's persistant notification by calling HyperTrack.disablePersistentNotification(true) API.

v0.3.2

  • Bug fixes and improvements.

v0.3.1

  • Adds completeActionWithLookupId API to complete action using the lookupID associated while creating an action. Refer here for more details.

v0.3.0

  • Introduces new and enhanced live tracking experience for order tracking use-case. This new tracking experience is currently in beta and we will soon be rolling it out for all other use-cases.

SDK v0.2.x

v0.2.8

v0.2.7

  • Fixes NullPointerException crash in SDKControls.getMinimumDuration.
  • Fixes ActivityNotFoundException crash in HyperTrackMapFragment.
  • Bug fixes and improvements.

v0.2.6

  • Bug fixes and improvements.

v0.2.5

  • Adds new method Action.getCurrentDurationInMinutes to get current duration of Action.
  • Bug fixes and improvements.

v0.2.4

  • Fixes NullPointerException crash in TrackedUser.getUser.
  • Bug fixes and improvements.

v0.2.3

v0.2.2

v0.2.1

  • Adds HyperTrack.getOrCreateUser API method to get or create a User on HyperTrack API Server for the current device with given lookup_id.
  • Changes showSelectExpectedPlace method name to showPlaceSelectorView in HyperTrackMapAdapter to enable the live location sharing view.
  • Deprecated onActionRefreshed(List<String> refreshedActionList) method in MapFragmentCallback and introduced new API method onActionRefreshed(List<String> refreshedActionIds, List<Action> refreshedActions) to get the status of any action change.
  • Deprecated onActionStatusChanged(List<String> changedStatusActionList) method in MapFragmentCallback and introduced new API method onActionRefreshed(List<String> changedStatusActionIds, List<Action> changedStatusActions) to get the status of any action change

v0.2.0

  • Adds HyperTrack.getActionForShortCode method to get Action model for a given shortCode (unique code in Action's trackingUrl).
  • Adds a simple and interactive UI widget Place Selector View that will enable to select a expected place in live location sharing view. To enable this view implement showSelectExpectedPlace method in your MyMapAdapter class extending HyperTrackMapAdapter.
  • Supports live location sharing view to enable location sharing feature in your app.
  • Updates method params of showTrailingPolyline(String actionID) to showTrailingPolyline() in HyperTrackMapAdapter to show the polyline for a single action track in live tracking view.

v0.1.32

  • Adds HyperTrack.trackActionByLookupId and HyperTrack.trackActionByShortCode API methods, this methods will track actions with a given lookupId or shortCode respectively on HyperTrackMapFragment for live tracking view which is embedded in your activity.
  • Adds showTrailingPolyline(String actionID) method in HyperTrackMapAdapter to show the polyline for a single action track in live tracking view.

v0.1.31

  • Fixes throwIndexOutOfBoundsException crash in HyperTrackMapFragment.updateMapWithActionSummary method in live tracking view.
  • Bug fixes and improvements

v0.1.30

  • Changes returned type of getLastHeartbeatAt, getLastOnlineAt, getCreatedAt, getModifiedAt of User entitity from String to java.util.Date.
  • Changes HyperTrack.removeActions(List<String> actionsIds) method function if actionIds is null then remove all tracking actions.

v0.1.29

  • Refactors Destination to Expected Place in live-tracking APIs including HyperTrackMapAdapter, MapFragmentCallback.
  • Adds isConnected API in User model. This API returns true if the connection status is healthy for this user.

v0.1.28

  • Adds completeActionAndStopTrackingIfNoPendingAction API. This API allows to complete Actions and stop tracking in the SDK if the user has no pending actions.

v0.1.27

  • Adds support for live tracking experience.

v0.1.26

  • Bug Fixes and improvments.

v0.1.25

  • Adds HyperTrack.cancelAction and HyperTrack.getActionsForLookupId API methods. With this HyperTrack.cancelAction developers can cancel the action and HyperTrack.getActionsForLookupId will return the list of actions for given lookupId.
  • Deprecated HyperTrack.trackActionsForUser API method and introduced new API method HyperTrack.trackAction for tracking Actions.
  • Removed Broadcast for ActionsStatusChanged and ActionRefreshed. To gets update for ActionStatusChanged and ActionRefreshed use MapFragmentCallback methods onActionStatusChanged and onActionRefreshed.

v0.1.24

  • Adds Serializable property to User and Action models. This change enables serialization & deserialization of these models while sharing it using Intent extras or saving it into persistent storage.

v0.1.23

  • With this version, HyperTrack SDK rejects all locations collected from Mock sources. To enable Mock locations for your development/testing, call HyperTrack.enableMockLocations(true) API. This will allow mock locations to be accepted by the SDK.

v0.1.22

  • Fixes multiple consecitive stops getting detected: With SDK v0.1.21, there was a regression where multiple stops were getting detected for the user on device reboot or location settings changes. With these changes the multiple stops issue has been fixed.
  • Fixes live tracking experience latency issues

v0.1.19-v0.1.21

  • Fixes NullPointerException crash in getCurrentLocation API
  • Bug fixes and improvements

v0.1.18

  • Removes Location Settings validations from startTracking API

v0.1.15-v0.1.17

  • Bug Fixes and improvements

v0.1.11-v0.1.14

  • Fixes OutOfMemory crashes in flushEvents method: We observed that because of a race condition, flushEvents API was getting executed multiple times and hence resulting in an OOM crash. This has been fixed with these changes.

v0.1.10

  • Adds Builder pattern to Place model: With this change, constructing a Place object becomes easier.
  • Adds getLatLng API in GeoJSONLocation model

v0.1.9

  • Adds getUsersForLookupId API: With this change, getUsersForLookupId API can be used to fetch Users with lookupId matching to the one given as parameter.
  • Fixes NullPointerException crash in SDKControlsManager.class
  • Bug fixes and improvements

v0.1.8

  • Adds createAndAssignAction API: With this change, SDK now provides the createAndAssignAction API to create and assign an Action for the configured user in the SDK.
  • Adds completeAction API: With this change, SDK also provides the completeAction API to complete an action for the configured user in the SDK.
  • Fixes bug in clearServiceNotificationParams API: With this change, the issue where the Service Notification's UI is not reset on clearServiceNotificationParams API call has been fixed.
  • Bug fixes and imporovements

v0.1.7

  • Adds getAction API: With this change, SDK provides getAction API to fetch Action details for an action_id.

v0.1.6

  • Adds setServiceNotificationParams & clearServiceNotificationParams APIs: With this release, SDK has APIs to enable customization for SDK's sticky service notification.

v0.1.5

  • Bug fixes & improvements

v0.1.4

  • Fixes inaccurate location geofenced issues.
  • Adds HyperTrackEventCallback support to receive HyperTrack events in app.

v0.1.3

  • Adds HyperTrack SDK events broadcasts.

results matching ""

    No results matching ""