Releases: hypertrack/cordova-plugin-hypertrack
Releases · hypertrack/cordova-plugin-hypertrack
2.2.3
2.2.2
2.2.1
2.2.0
Changed
- New
addGeotag
andaddGeotagWithExpectedLocation
methods signature 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) - Updated HyperTrack SDK iOS to 5.5.2
- Updated HyperTrack SDK Android to 7.5.3
2.1.2
2.1.1
2.1.0
2.0.1
Fixed
- Undefined latitude and longitude in
addGeotagWithExpectedLocation()
response
2.0.0
We are excited to announce the release of HyperTrack Cordova 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. Check the Migration Guide.
Added
locate()
to ask for one-time user locationsubscribeToLocation()
to subscribe to user location updatesgetErrors()
getName()
getMetadata()
- HyperTrackError types:
noExemptionFromBackgroundStartRestrictions
permissionsNotificationsDenied
Changed
- Updated HyperTrack SDK Android to 7.0.9
- Added Android SDK plugins (
location-services-google
andpush-service-firebase
) - Updated HyperTrack SDK iOS to 5.0.7
- The whole HyperTrack API is now static
- Changed the way to provide publishableKey (you need to add
HyperTrackPublishableKey
meta-data
item to yourAndroidManifest.xml
andInfo.plist
) - 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()
- Renamed
unsubscribeFromTracking()
tounsubscribeFromIsTracking()
- Renamed
unsubscribeToAvailability()
tounsubscribeFromIsAvailable()
Removed
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.1.0
Added
addGeotagWithExpectedLocation()
method- API Documentation