Skip to content

Releases: hypertrack/sdk-react-native

11.0.0

14 Sep 13:44
613295f
Compare
Choose a tag to compare

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 location
  • subscribeToLocation() to subscribe to user location updates
  • getErrors()
  • getName()
  • getMetadata()
  • HyperTrackError types:
    • noExemptionFromBackgroundStartRestrictions
    • permissionsNotificationsDenied

Changed

  • ⚠️ WARNING: The device ID will be changed after the update to this version. (fixed in the 11.0.9 release)
  • Add Android SDK plugins (location-services-google-19-0-1 and push-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 your AndroidManifest.xml)
  • Renamed HyperTrackError types:
    • gpsSignalLost to locationSignalLost
    • locationPermissionsDenied to permissionsLocationDenied
    • locationPermissionsInsufficientForBackground to permissionsLocationInsufficientForBackground
    • locationPermissionsNotDetermined to permissionsLocationNotDetermined
    • locationPermissionsProvisional to locationPermissionsProvisional
    • locationPermissionsReducedAccuracy to permissionsLocationReducedAccuracy
    • locationPermissionsRestricted to permissionsLocationRestricted
  • Renamed isAvailable() to getIsAvailable()
  • Renamed isTracking() to getIsTracking()
  • Renamed setAvailability() to setIsAvailable(boolean)
  • Changed startTracking() and stopTracking() to setIsTracking(boolean)
  • Renamed subscribeToTracking() to subscribeToIsTracking()
  • Renamed subscribeToAvailability() to subscribeToIsAvailable()

Removed

  • initialize() method (the API is now static)
  • SdkInitParams (the config now should be done with the AndroidManifest metadata and Info.plist)
  • Motion Activity permissions are not required for tracking anymore
  • HyperTrackError types:
    • motionActivityPermissionsDenied
    • motionActivityServicesDisabled
    • motionActivityServicesUnavailable
    • motionActivityPermissionsRestricted
    • networkConnectionUnavailable
  • sync() method

10.0.3

09 Aug 16:32
7362e0d
Compare
Choose a tag to compare

Fixed

  • Propagating Android exception stacktrace to JS API

10.0.2

16 Jun 17:40
6aa4fe3
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack iOS SDK to 4.16.1

10.0.1

15 Jun 15:28
b678452
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack Android SDK to 6.4.2

10.0.0

08 Jun 13:08
f5a58d5
Compare
Choose a tag to compare

Changed

  • getLocation return type to Result<Location, LocationError>

Fixed

  • addGeotag and getLocation wrong return type that is different from the one in the API docs (introduced in 9.2.0)

9.2.2

01 Jun 20:17
5bae36b
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack iOS SDK to 4.16.0

9.2.1

19 May 17:59
1884e72
Compare
Choose a tag to compare

Fixed

  • Fixed addGeotag (with expected location) return type

9.2.0

19 May 10:09
658055c
Compare
Choose a tag to compare

Added

  • addGeotag with expected location

Changed

  • HyperTrack iOS SDK updated to 5.15.0

9.1.1

30 Mar 14:49
Compare
Choose a tag to compare

Fixed

  • Removed types re-export to fix issues with some build configurations

9.1.0

30 Mar 14:49
Compare
Choose a tag to compare

Added

  • automaticallyRequestPermissions param to initialize()