Releases: hypertrack/sdk-ionic-capacitor
Releases · hypertrack/sdk-ionic-capacitor
2.0.0
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. Check the Migration Guide.
Changed
- Updated HyperTrack Android SDK to 7.0.6
- Added Android SDK plugins (
location-services-googleandpush-service-firebase) - Updated HyperTrack iOS SDK to 5.0.4
- The whole HyperTrack API is now static
- Changed the way to provide publishableKey (you need to add
HyperTrackPublishableKeymeta-dataitem to yourAndroidManifest.xml) - Renamed HyperTrackError types:
gpsSignalLosttolocationSignalLostlocationPermissionsDeniedtopermissionsLocationDeniedlocationPermissionsInsufficientForBackgroundtopermissionsLocationInsufficientForBackgroundlocationPermissionsNotDeterminedtopermissionsLocationNotDeterminedlocationPermissionsProvisionaltolocationPermissionsProvisionallocationPermissionsReducedAccuracytopermissionsLocationReducedAccuracylocationPermissionsRestrictedtopermissionsLocationRestricted
- 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>
Added
locate()to ask for one-time user locationsubscribeToLocation()to subscribe to user location updatesgetErrors()getName()getMetadata()- HyperTrackError types:
noExemptionFromBackgroundStartRestrictionspermissionsNotificationsDenied
Removed
initialize()method (the API is now static)SdkInitParams(the config now should be done with theAndroidManifestmetadata andInfo.plist)- Motion Activity permissions are not required for tracking anymore
- HyperTrackError types:
motionActivityPermissionsDeniedmotionActivityServicesDisabledmotionActivityServicesUnavailablemotionActivityPermissionsRestrictednetworkConnectionUnavailable
sync()method
1.0.3
Changed
- Updated HyperTrack iOS SDK to 4.16.1
1.0.2
Changed
- HyperTrack SDK Android updated to 6.4.2
1.0.1
Changed
- HyperTrack SDK iOS updated to 4.16.0
1.0.0
Added
- Initial release