The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.7.1 - 2024-12-05
3.7.0 - 2024-11-22
3.6.3 - 2024-11-13
3.6.2 - 2024-09-24
- Updated HyperTrack SDK Android to 7.8.3
3.6.1 - 2024-09-18
- Updated HyperTrack SDK Android to 7.8.2
3.6.0 - 2024-09-04
- Support for Motion & Activity detection
- If your app asks for the Motion & Activity permission (for iOS) or the Activity Recognition permission (for Android) and the user grants it, you will have better activity detection in polylines
3.5.1 - 2024-08-28
- Serialization bug for
Order.isInsideGeofence
success case on iOS
3.5.0 - 2024-08-22
- Support for on-device geofencing via new
HyperTrack.orders.get("my_order_handle").isInsideGeofence
property- To learn more about how to best use this new feature see our guide here: Verify shift presence before starting work
Example use for worker clock in:
// check worker presence synchronously
let activeOrders = await HyperTrack.getOrders()
let currentOrder = activeOrders.get("current_order")
if (currentOrder !== undefined) { handlePresence(currentOrder) }
else { console.log("'current_order' not found") }
// or subscribe to the changes in orders to get the status updates
HyperTrack.subscribeToOrders(orders => {
let let currentOrder = activeOrders.get("current_order")
if (currentOrder !== undefined) { handlePresence(currentOrder) }
else { console.log("'current_order' not found") }
})
// handle worker presence inside the order destination geofence
function handlePresence(isInsideGeofence: Result<boolean, LocationError>) {
switch (isInsideGeofence.type) {
case 'success':
if (isInsideGeofence.value) {
// allow worker to clock in for the shift
} else {
// "to clock in you must be at order destination"
}
break;
case 'failure':
// resolve errors to check for presence
break;
}
}
3.4.0 - 2024-06-13
- New
setWorkerHandle
andgetWorkerHandle
can be used to identify workers- We observed our customers identify worker devices via
HyperTrack.metadata
, so we decided to make it a first class citizen in our API. - If you previously used
metadata
to identify workers, we suggest usingworkerHandle
for this purpose instead.
- We observed our customers identify worker devices via
3.3.1 - 2024-05-24
- Updated HyperTrack SDK Android to 7.5.5
3.3.0 - 2024-05-13
- Now the plugin takes into account project's
kotlin_version
to align Kotlin versions.
- Default Kotlin version is updated to
1.9.10
- Updated HyperTrack SDK iOS to 5.5.4
- Updated HyperTrack SDK Android to 7.5.4
@capacitor/core
item inpeerDependencies
3.2.2 - 2024-05-03
- Updated HyperTrack SDK iOS to 5.5.3
3.2.1 - 2024-04-23
3.2.0 - 2024-04-19
- New
addGeotag
method that haveorderHandle
andorderStatus
parameters. You can use this API when users need to clock in/out of work in your app to honor their work time (see Clock in/out Tagging guide for more info)
- Added
kotlinOptions.jvmTarget
to fix the build error when updating to Gradle 8 and settingcompileOptions.targetCompatibility
to17
3.1.3 - 2024-02-26
- Updated HyperTrack SDK Android to 7.4.3
3.1.2 - 2024-02-15
3.1.1 - 2024-02-12
3.1.0 - 2024-01-31
3.0.2 - 2024-01-18
- Set
@capacitor/core
version to^5.0.0
inpeerDependencies
to fix compatibility with older 5.x.x versions
3.0.1 - 2023-12-20
- Wrong
@capacitor/core
version inpeerDependencies
3.0.0 - 2023-12-20
2.0.2 - 2023-11-23
2.0.1 - 2023-11-10
2.0.0 - 2023-10-27
We are excited to announce the release of HyperTrack Ionic Capacitor SDK 2.0.0, a major update to our location tracking SDK. This release ensures highest tracking performance, reduces deployed app sizes and comes with an improved API to simplify the integrations. We highly recommend upgrading, but please note that there are a few breaking changes.
- Updated HyperTrack SDK Android to 7.0.6
- Added Android SDK plugins (
location-services-google
andpush-service-firebase
) - Updated HyperTrack SDK iOS to 5.0.4
- The whole HyperTrack API is now static
- Changed the way to provide publishableKey (you need to add
HyperTrackPublishableKey
meta-data
item to yourAndroidManifest.xml
) - Renamed HyperTrackError types:
gpsSignalLost
tolocationSignalLost
locationPermissionsDenied
topermissionsLocationDenied
locationPermissionsInsufficientForBackground
topermissionsLocationInsufficientForBackground
locationPermissionsNotDetermined
topermissionsLocationNotDetermined
locationPermissionsProvisional
tolocationPermissionsProvisional
locationPermissionsReducedAccuracy
topermissionsLocationReducedAccuracy
locationPermissionsRestricted
topermissionsLocationRestricted
- Renamed
isAvailable()
togetIsAvailable()
- Renamed
isTracking()
togetIsTracking()
- Renamed
setAvailability()
tosetIsAvailable(boolean)
- Changed
startTracking()
andstopTracking()
tosetIsTracking(boolean)
- Renamed
subscribeToTracking()
tosubscribeToIsTracking()
- Renamed
subscribeToAvailability()
tosubscribeToIsAvailable()
- Changed
getLocation()
response toResult<Location, LocationError>
locate()
to ask for one-time user locationsubscribeToLocation()
to subscribe to user location updatesgetErrors()
getName()
getMetadata()
- HyperTrackError types:
noExemptionFromBackgroundStartRestrictions
permissionsNotificationsDenied
initialize()
method (the API is now static)SdkInitParams
(the config now should be done with theAndroidManifest
metadata andInfo.plist
)- Motion Activity permissions are not required for tracking anymore
- HyperTrackError types:
motionActivityPermissionsDenied
motionActivityServicesDisabled
motionActivityServicesUnavailable
motionActivityPermissionsRestricted
networkConnectionUnavailable
sync()
method
1.0.3 - 2023-06-16
- Updated HyperTrack SDK iOS to 4.16.1
1.0.2 - 2023-06-15
- HyperTrack SDK Android updated to 6.4.2
1.0.1 - 2023-06-01
- HyperTrack SDK iOS updated to 4.16.0
1.0.0 - 2023-02-10
- Initial release