Releases: hypertrack/sdk-flutter
Releases · hypertrack/sdk-flutter
2.0.2
2.0.1
Changed
- Updated HyperTrack SDK iOS to 5.0.4
- Updated HyperTrack SDK Android to 7.0.6
Fixed
- Error on calling
HyperTrack.errors
2.0.0
We are excited to announce the release of HyperTrack Flutter 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 locationlocationSubcription
to subscribe to user location updateserrors
gettername
gettermetadata
getter- HyperTrackError types:
noExemptionFromBackgroundStartRestrictions
permissionsNotificationsDenied
Changed
- Updated HyperTrack Android SDK
to 7.0.3 - Add Android SDK plugins (
location-services-google
andpush-service-firebase
) - Updated HyperTrack iOS SDK to 5.0.2
- The whole HyperTrack API is now static
- Changed the way to provide publishableKey (
- You need to add
HyperTrackPublishableKey
meta-data
item to yourAndroidManifest.xml
and
the same entry toInfo.plist
)
- You need to add
- Renamed HyperTrackError types:
gpsSignalLost
tolocationSignalLost
locationPermissionsDenied
topermissionsLocationDenied
locationPermissionsInsufficientForBackground
topermissionsLocationInsufficientForBackground
locationPermissionsNotDetermined
topermissionsLocationNotDetermined
locationPermissionsProvisional
tolocationPermissionsProvisional
locationPermissionsReducedAccuracy
topermissionsLocationReducedAccuracy
locationPermissionsRestricted
topermissionsLocationRestricted
- Renamed
setAvailability()
tosetIsAvailable(boolean)
- Changed
startTracking()
andstopTracking()
tosetIsTracking(boolean)
- Renamed
onTrackingChanged
toisTrackingSubscription
- Renamed
onAvailabilityChanged
toisAvailableSubscription
- Renamed
onError
toerrorsSubscription
- Renamed
JSONValue
toJSON
Removed
initialize()
method (the API is now static)- Motion Activity permissions are not required for tracking anymore
- HyperTrackError types:
motionActivityPermissionsDenied
motionActivityServicesDisabled
motionActivityServicesUnavailable
motionActivityPermissionsRestricted
networkConnectionUnavailable
sync()
method
1.1.3
Changed
- Updated HyperTrack iOS SDK to 4.16.1
1.1.2
Changed
- Updated HyperTrack Android SDK to 6.4.2
- Updated Kotlin to 1.6.21
1.1.1
Changed
- Updated HyperTrack iOS SDK to 4.16.0
1.1.0
Added
addGeotag
with expected locationautomaticallyRequestPermissions
param to SDK initialization- JSONNull type to JSONValue
Changed
- Updated HyperTrack iOS SDK to 4.15.0
Fixed
- String representation of errors in subscribeToErrors result
1.0.0
Changed
- Updated HyperTrack iOS SDK to 4.14.0
- Updated HyperTrack Android SDK to 6.4.0
syncDeviceSettings()
renamed tosync()
setDeviceName()
renamed tosetName()
setDeviceMetadata()
renamed tosetMetadata()
start()
renamed tostartTracking()
stop()
renamed tostopTracking()
Added
initialize()
configuration params for- Debug logging
- Background location permissions request for Android
- Mock locations
onAvailabilityChanged
streamonError
stream- Location result for
addGeotag
Removed
getLatestLocation()
allowMockLocations()
(useinitialize()
paramallowMockLocations
istead)enableDebugLogging()
(useinitialize()
paramloggingEnabled
istead)getRunnigStatus()
0.4.3
[0.4.3] - 2022-09-16
Changed
- Android SDK updated to 6.3.0
0.4.2
Changed
- Android SDK updated to 6.2.2