From f57d7249d569711ae06d780561f01fc6379e4dff Mon Sep 17 00:00:00 2001 From: Fero Date: Fri, 22 Nov 2024 20:00:00 +0100 Subject: [PATCH] Update HyperTrack SDK iOS to 5.9.0 and Android to 7.9.0 (#119) --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- docs/classes/HyperTrack.html | 4 ++-- docs/enums/HyperTrackError.html | 4 ++-- docs/index.html | 4 ++-- docs/modules.html | 4 ++-- docs/types/Errors.html | 2 +- docs/types/Failure.html | 2 +- docs/types/Location.html | 2 +- docs/types/LocationError.html | 2 +- docs/types/LocationWithDeviation.html | 2 +- docs/types/NotRunning.html | 2 +- docs/types/Order.html | 2 +- docs/types/OrderStatus.html | 2 +- docs/types/Result.html | 2 +- docs/types/Starting.html | 2 +- docs/types/Success.html | 2 +- .../android/gradle.properties | 2 +- plugin_android_activity_service_google/package.json | 2 +- .../android/gradle.properties | 2 +- plugin_android_location_services_google/package.json | 2 +- .../android/gradle.properties | 2 +- .../package.json | 2 +- .../android/gradle.properties | 2 +- plugin_android_push_service_firebase/package.json | 2 +- sdk/android/gradle.properties | 2 +- sdk/hypertrack-sdk-react-native.podspec | 2 +- sdk/package.json | 2 +- 28 files changed, 40 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10c3e19..b696143 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.7.0] - 2024-11-22 + +### Changed + +- Updated HyperTrack SDK iOS to [5.9.0](https://github.com/hypertrack/sdk-ios/releases/tag/5.9.0) +- Updated HyperTrack SDK Android to [7.9.0](https://github.com/hypertrack/sdk-android/releases/tag/7.9.0) + ## [13.6.4] - 2024-11-17 ### Fixed @@ -969,3 +976,4 @@ Initial release. [13.6.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.6.2 [13.6.3]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.6.3 [13.6.4]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.6.4 +[13.7.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.7.0 diff --git a/README.md b/README.md index 8b19f6e..e2b0605 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![GitHub](https://img.shields.io/github/license/hypertrack/sdk-react-native?color=orange)](./LICENSE) [![npm](https://img.shields.io/npm/v/hypertrack-sdk-react-native.svg)](https://www.npmjs.com/package/hypertrack-sdk-react-native) -[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-5.8.1-brightgreen.svg)](https://github.com/hypertrack/sdk-ios) -[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.8.4-brightgreen.svg)](https://github.com/hypertrack/sdk-android) +[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-5.9.0-brightgreen.svg)](https://github.com/hypertrack/sdk-ios) +[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.9.0-brightgreen.svg)](https://github.com/hypertrack/sdk-android) [HyperTrack](https://www.hypertrack.com) lets you add live location tracking to your mobile app. Live location is made available along with ongoing activity, tracking controls and tracking outage with reasons. diff --git a/docs/classes/HyperTrack.html b/docs/classes/HyperTrack.html index 049b37d..5fe4755 100644 --- a/docs/classes/HyperTrack.html +++ b/docs/classes/HyperTrack.html @@ -1,4 +1,4 @@ -HyperTrack | HyperTrack React Native SDK API - v13.6.4

Constructors

constructor +HyperTrack | HyperTrack React Native SDK API - v13.7.0

Constructors

Properties

Methods

addGeotag getDeviceId @@ -102,4 +102,4 @@

Parameters

  • listener: ((orders) => void)
      • (orders): void
      • Parameters

        • orders: Map<string, Order>

        Returns void

Returns EmitterSubscription

EmitterSubscription

Example

const subscription = HyperTrack.subscribeToOrders(orders => {
...
})

// later, to stop listening
subscription.remove()
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/enums/HyperTrackError.html b/docs/enums/HyperTrackError.html index 80fb964..251f2c1 100644 --- a/docs/enums/HyperTrackError.html +++ b/docs/enums/HyperTrackError.html @@ -1,4 +1,4 @@ -HyperTrackError | HyperTrack React Native SDK API - v13.6.4

Enumeration Members

blockedFromRunning +HyperTrackError | HyperTrack React Native SDK API - v13.7.0

Enumeration Members

permissionsLocationRestricted: "permissions.location.restricted"

[iOS only] The app is not authorized to use location services.

permissionsNotificationsDenied: "permissions.notifications.denied"

[Android only] The user denied notification permissions needed to display a persistent notification needed for foreground location tracking.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index ee9ed3a..51ec464 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,2 +1,2 @@ -HyperTrack React Native SDK API - v13.6.4

HyperTrack React Native SDK API - v13.6.4

hypertrack-sdk-react-native

The main package for HyperTrack SDK React Native.

-
\ No newline at end of file +HyperTrack React Native SDK API - v13.7.0

HyperTrack React Native SDK API - v13.7.0

hypertrack-sdk-react-native

The main package for HyperTrack SDK React Native.

+
\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index a23a75e..bcbdf92 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,4 +1,4 @@ -HyperTrack React Native SDK API - v13.6.4

HyperTrack React Native SDK API - v13.6.4

References

default +HyperTrack React Native SDK API - v13.7.0

HyperTrack React Native SDK API - v13.7.0

References

Enumerations

Classes

Type Aliases

Location @@ -12,4 +12,4 @@ Result NotRunning Starting -

References

Renames and re-exports HyperTrack
\ No newline at end of file +

References

Renames and re-exports HyperTrack
\ No newline at end of file diff --git a/docs/types/Errors.html b/docs/types/Errors.html index d2201b4..df96320 100644 --- a/docs/types/Errors.html +++ b/docs/types/Errors.html @@ -1 +1 @@ -Errors | HyperTrack React Native SDK API - v13.6.4
Errors: {
    type: "errors";
    value: HyperTrackError[];
}

Type declaration

\ No newline at end of file +Errors | HyperTrack React Native SDK API - v13.7.0
Errors: {
    type: "errors";
    value: HyperTrackError[];
}

Type declaration

\ No newline at end of file diff --git a/docs/types/Failure.html b/docs/types/Failure.html index 86cccb4..797f595 100644 --- a/docs/types/Failure.html +++ b/docs/types/Failure.html @@ -1 +1 @@ -Failure | HyperTrack React Native SDK API - v13.6.4
Failure<F>: {
    type: "failure";
    value: F;
}

Type Parameters

  • F

Type declaration

  • type: "failure"
  • value: F
\ No newline at end of file +Failure | HyperTrack React Native SDK API - v13.7.0
Failure<F>: {
    type: "failure";
    value: F;
}

Type Parameters

  • F

Type declaration

  • type: "failure"
  • value: F
\ No newline at end of file diff --git a/docs/types/Location.html b/docs/types/Location.html index 2ff6800..f873647 100644 --- a/docs/types/Location.html +++ b/docs/types/Location.html @@ -1 +1 @@ -Location | HyperTrack React Native SDK API - v13.6.4
Location: {
    latitude: number;
    longitude: number;
}

Type declaration

  • latitude: number
  • longitude: number
\ No newline at end of file +Location | HyperTrack React Native SDK API - v13.7.0
Location: {
    latitude: number;
    longitude: number;
}

Type declaration

  • latitude: number
  • longitude: number
\ No newline at end of file diff --git a/docs/types/LocationError.html b/docs/types/LocationError.html index 8779ee4..14ca803 100644 --- a/docs/types/LocationError.html +++ b/docs/types/LocationError.html @@ -1 +1 @@ -LocationError | HyperTrack React Native SDK API - v13.6.4
\ No newline at end of file +LocationError | HyperTrack React Native SDK API - v13.7.0
\ No newline at end of file diff --git a/docs/types/LocationWithDeviation.html b/docs/types/LocationWithDeviation.html index fea1081..2ebe4c8 100644 --- a/docs/types/LocationWithDeviation.html +++ b/docs/types/LocationWithDeviation.html @@ -1 +1 @@ -LocationWithDeviation | HyperTrack React Native SDK API - v13.6.4
LocationWithDeviation: {
    location: Location;
    deviation: number;
}

Type declaration

\ No newline at end of file +LocationWithDeviation | HyperTrack React Native SDK API - v13.7.0
LocationWithDeviation: {
    location: Location;
    deviation: number;
}

Type declaration

\ No newline at end of file diff --git a/docs/types/NotRunning.html b/docs/types/NotRunning.html index 23cb24b..7b1ba08 100644 --- a/docs/types/NotRunning.html +++ b/docs/types/NotRunning.html @@ -1 +1 @@ -NotRunning | HyperTrack React Native SDK API - v13.6.4
NotRunning: {
    type: "notRunning";
}

Type declaration

  • type: "notRunning"
\ No newline at end of file +NotRunning | HyperTrack React Native SDK API - v13.7.0
NotRunning: {
    type: "notRunning";
}

Type declaration

  • type: "notRunning"
\ No newline at end of file diff --git a/docs/types/Order.html b/docs/types/Order.html index d8fd10a..6078e8f 100644 --- a/docs/types/Order.html +++ b/docs/types/Order.html @@ -1 +1 @@ -Order | HyperTrack React Native SDK API - v13.6.4
Order: {
    orderHandle: string;
    isInsideGeofence: Result<boolean, LocationError>;
}

Type declaration

\ No newline at end of file +Order | HyperTrack React Native SDK API - v13.7.0
Order: {
    orderHandle: string;
    isInsideGeofence: Result<boolean, LocationError>;
}

Type declaration

\ No newline at end of file diff --git a/docs/types/OrderStatus.html b/docs/types/OrderStatus.html index c38d02f..5bf0023 100644 --- a/docs/types/OrderStatus.html +++ b/docs/types/OrderStatus.html @@ -1 +1 @@ -OrderStatus | HyperTrack React Native SDK API - v13.6.4
OrderStatus: {
    type: "orderStatusClockIn";
} | {
    type: "orderStatusClockOut";
} | {
    type: "orderStatusCustom";
    value: string;
}

Type declaration

  • type: "orderStatusClockIn"

Type declaration

  • type: "orderStatusClockOut"

Type declaration

  • type: "orderStatusCustom"
  • value: string
\ No newline at end of file +OrderStatus | HyperTrack React Native SDK API - v13.7.0
OrderStatus: {
    type: "orderStatusClockIn";
} | {
    type: "orderStatusClockOut";
} | {
    type: "orderStatusCustom";
    value: string;
}

Type declaration

  • type: "orderStatusClockIn"

Type declaration

  • type: "orderStatusClockOut"

Type declaration

  • type: "orderStatusCustom"
  • value: string
\ No newline at end of file diff --git a/docs/types/Result.html b/docs/types/Result.html index 6644299..e83b0b3 100644 --- a/docs/types/Result.html +++ b/docs/types/Result.html @@ -1 +1 @@ -Result | HyperTrack React Native SDK API - v13.6.4
Result<S, F>: Success<S> | Failure<F>

Type Parameters

  • S

  • F

\ No newline at end of file +Result | HyperTrack React Native SDK API - v13.7.0
Result<S, F>: Success<S> | Failure<F>

Type Parameters

  • S

  • F

\ No newline at end of file diff --git a/docs/types/Starting.html b/docs/types/Starting.html index 7239b46..fdf4330 100644 --- a/docs/types/Starting.html +++ b/docs/types/Starting.html @@ -1 +1 @@ -Starting | HyperTrack React Native SDK API - v13.6.4
Starting: {
    type: "starting";
}

Type declaration

  • type: "starting"
\ No newline at end of file +Starting | HyperTrack React Native SDK API - v13.7.0
Starting: {
    type: "starting";
}

Type declaration

  • type: "starting"
\ No newline at end of file diff --git a/docs/types/Success.html b/docs/types/Success.html index 5ac1232..569240f 100644 --- a/docs/types/Success.html +++ b/docs/types/Success.html @@ -1 +1 @@ -Success | HyperTrack React Native SDK API - v13.6.4
Success<S>: {
    type: "success";
    value: S;
}

Type Parameters

  • S

Type declaration

  • type: "success"
  • value: S
\ No newline at end of file +Success | HyperTrack React Native SDK API - v13.7.0
Success<S>: {
    type: "success";
    value: S;
}

Type Parameters

  • S

Type declaration

  • type: "success"
  • value: S
\ No newline at end of file diff --git a/plugin_android_activity_service_google/android/gradle.properties b/plugin_android_activity_service_google/android/gradle.properties index 4ea22c7..bb371a4 100644 --- a/plugin_android_activity_service_google/android/gradle.properties +++ b/plugin_android_activity_service_google/android/gradle.properties @@ -3,4 +3,4 @@ PluginAndroidActivityServiceGoogle_minSdkVersion=21 PluginAndroidActivityServiceGoogle_targetSdkVersion=31 PluginAndroidActivityServiceGoogle_compileSdkVersion=31 PluginAndroidActivityServiceGoogle_ndkversion=21.4.7075529 -PluginAndroidActivityServiceGoogle_HyperTrackSDKVersion=7.8.4 +PluginAndroidActivityServiceGoogle_HyperTrackSDKVersion=7.9.0 diff --git a/plugin_android_activity_service_google/package.json b/plugin_android_activity_service_google/package.json index 4e8a807..1834609 100644 --- a/plugin_android_activity_service_google/package.json +++ b/plugin_android_activity_service_google/package.json @@ -1,6 +1,6 @@ { "name": "hypertrack-sdk-react-native-plugin-android-activity-service-google", - "version": "13.6.4", + "version": "13.7.0", "description": "A wrapper around `Activity Service Google` plugin for HyperTrack SDK Android that is used with `hypertrack-sdk-react-native`", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/plugin_android_location_services_google/android/gradle.properties b/plugin_android_location_services_google/android/gradle.properties index 5a908ba..09926f7 100644 --- a/plugin_android_location_services_google/android/gradle.properties +++ b/plugin_android_location_services_google/android/gradle.properties @@ -3,4 +3,4 @@ PluginAndroidLocationServicesGoogle_minSdkVersion=21 PluginAndroidLocationServicesGoogle_targetSdkVersion=31 PluginAndroidLocationServicesGoogle_compileSdkVersion=31 PluginAndroidLocationServicesGoogle_ndkversion=21.4.7075529 -PluginAndroidLocationServicesGoogle_HyperTrackSDKVersion=7.8.4 +PluginAndroidLocationServicesGoogle_HyperTrackSDKVersion=7.9.0 diff --git a/plugin_android_location_services_google/package.json b/plugin_android_location_services_google/package.json index 6412a2c..71b6f18 100644 --- a/plugin_android_location_services_google/package.json +++ b/plugin_android_location_services_google/package.json @@ -1,6 +1,6 @@ { "name": "hypertrack-sdk-react-native-plugin-android-location-services-google", - "version": "13.6.4", + "version": "13.7.0", "description": "A wrapper around `Location Services Google` plugin for HyperTrack SDK Android that is used with `hypertrack-sdk-react-native`", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/plugin_android_location_services_google_19_0_1/android/gradle.properties b/plugin_android_location_services_google_19_0_1/android/gradle.properties index 1607830..8206d57 100644 --- a/plugin_android_location_services_google_19_0_1/android/gradle.properties +++ b/plugin_android_location_services_google_19_0_1/android/gradle.properties @@ -3,4 +3,4 @@ PluginAndroidLocationServicesGoogle1901_minSdkVersion=21 PluginAndroidLocationServicesGoogle1901_targetSdkVersion=31 PluginAndroidLocationServicesGoogle1901_compileSdkVersion=31 PluginAndroidLocationServicesGoogle1901_ndkversion=21.4.7075529 -PluginAndroidLocationServicesGoogle1901_HyperTrackSDKVersion=7.8.4 +PluginAndroidLocationServicesGoogle1901_HyperTrackSDKVersion=7.9.0 diff --git a/plugin_android_location_services_google_19_0_1/package.json b/plugin_android_location_services_google_19_0_1/package.json index ce16cf5..1e102ee 100644 --- a/plugin_android_location_services_google_19_0_1/package.json +++ b/plugin_android_location_services_google_19_0_1/package.json @@ -1,6 +1,6 @@ { "name": "hypertrack-sdk-react-native-plugin-android-location-services-google-19-0-1", - "version": "13.6.4", + "version": "13.7.0", "description": "A wrapper around `Location Services Google 19.0.1` plugin for HyperTrack SDK Android that is used with `hypertrack-sdk-react-native`", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/plugin_android_push_service_firebase/android/gradle.properties b/plugin_android_push_service_firebase/android/gradle.properties index 16bcf20..d33e3db 100644 --- a/plugin_android_push_service_firebase/android/gradle.properties +++ b/plugin_android_push_service_firebase/android/gradle.properties @@ -3,4 +3,4 @@ PluginAndroidPushServiceFirebase_minSdkVersion=21 PluginAndroidPushServiceFirebase_targetSdkVersion=31 PluginAndroidPushServiceFirebase_compileSdkVersion=31 PluginAndroidPushServiceFirebase_ndkversion=21.4.7075529 -PluginAndroidPushServiceFirebase_HyperTrackSDKVersion=7.8.4 +PluginAndroidPushServiceFirebase_HyperTrackSDKVersion=7.9.0 diff --git a/plugin_android_push_service_firebase/package.json b/plugin_android_push_service_firebase/package.json index a903947..fa29c16 100644 --- a/plugin_android_push_service_firebase/package.json +++ b/plugin_android_push_service_firebase/package.json @@ -1,6 +1,6 @@ { "name": "hypertrack-sdk-react-native-plugin-android-push-service-firebase", - "version": "13.6.4", + "version": "13.7.0", "description": "A wrapper around `Push Service Firebase` plugin for HyperTrack SDK Android that is used with `hypertrack-sdk-react-native`", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/sdk/android/gradle.properties b/sdk/android/gradle.properties index 8ee0162..993d0b3 100644 --- a/sdk/android/gradle.properties +++ b/sdk/android/gradle.properties @@ -1,3 +1,3 @@ HyperTrackSdk_kotlinVersion=1.6.21 -HyperTrackSdk_HyperTrackSDKVersion=7.8.4 +HyperTrackSdk_HyperTrackSDKVersion=7.9.0 android.useAndroidX=true diff --git a/sdk/hypertrack-sdk-react-native.podspec b/sdk/hypertrack-sdk-react-native.podspec index 4bdd1da..db4f330 100644 --- a/sdk/hypertrack-sdk-react-native.podspec +++ b/sdk/hypertrack-sdk-react-native.podspec @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,mm,swift}" s.dependency "React-Core" - s.dependency 'HyperTrack', '5.8.1' + s.dependency 'HyperTrack', '5.9.0' # Don't install the dependencies when we run `pod install` in the old architecture. if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then diff --git a/sdk/package.json b/sdk/package.json index 0c93e64..d809cad 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "hypertrack-sdk-react-native", - "version": "13.6.4", + "version": "13.7.0", "description": "React Native HyperTrack SDK is a wrapper around native iOS and Android SDKs that allows to integrate HyperTrack into React Native apps.", "main": "lib/commonjs/index", "module": "lib/module/index",