Releases: hypertrack/sdk-react-native
Releases · hypertrack/sdk-react-native
11.0.10
11.0.9
11.0.8
11.0.7
Fixed
- Lazily initialize event listener subscriptions
11.0.6
11.0.5
11.0.4
11.0.3
11.0.2
Changed
- Updated HyperTrack Android SDK to
7.0.3
- Updated HyperTrack iOS SDK to
5.0.2
Fixed
- Fixed
addGeotag()
andlocation
returning Errors when there is no intent to track. - Fixed rare cases when starting tracking remotely when the app is not running resulted in the SDK not updating locations until the user opens the app.
- Propagation of SDK killed reason to the server (android)
11.0.0
We are excited to announce the release of HyperTrack React Native SDK 11.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
⚠️ WARNING: The device ID will be changed after the update to this version. (fixed in the11.0.9
release)- Add Android SDK plugins (
location-services-google-19-0-1
andpush-service-firebase
) - Updated HyperTrack iOS SDK to 5.0.1
- 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()
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