From 61c6e153d24858d65edace2ae9de954c94399807 Mon Sep 17 00:00:00 2001 From: Fero Date: Fri, 22 Nov 2024 19:55:18 +0100 Subject: [PATCH] Update HyperTrack SDK iOS to 5.9.0 and Android to 7.9.0 (#45) --- CHANGELOG.md | 8 ++++++++ HypertrackSdkIonicCapacitor.podspec | 2 +- README.md | 4 ++-- android/build.gradle | 2 +- docs/classes/HyperTrack.html | 4 ++-- docs/enums/HyperTrackError.html | 4 ++-- docs/index.html | 4 ++-- docs/interfaces/Subscription.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 +- package-lock.json | 4 ++-- package.json | 2 +- 21 files changed, 34 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce97bb8..4188141 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] +## [3.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) + ## [3.6.3] - 2024-11-13 ### Changed @@ -317,3 +324,4 @@ We are excited to announce the release of HyperTrack Ionic Capacitor SDK 2.0.0, [3.6.1]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/3.6.1 [3.6.2]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/3.6.2 [3.6.3]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/3.6.3 +[3.7.0]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/3.7.0 diff --git a/HypertrackSdkIonicCapacitor.podspec b/HypertrackSdkIonicCapacitor.podspec index e0de4ad..f36e667 100644 --- a/HypertrackSdkIonicCapacitor.podspec +++ b/HypertrackSdkIonicCapacitor.podspec @@ -14,5 +14,5 @@ Pod::Spec.new do |s| s.ios.deployment_target = '12.0' s.dependency 'Capacitor' s.swift_version = '5.1' - s.dependency 'HyperTrack','5.8.1' + s.dependency 'HyperTrack','5.9.0' end diff --git a/README.md b/README.md index 4aae29d..23c2a40 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![GitHub](https://img.shields.io/github/license/hypertrack/sdk-ionic-capacitor.svg?color=orange)](./LICENSE) [![npm](https://img.shields.io/npm/v/hypertrack-sdk-ionic-capacitor.svg)](https://www.npmjs.com/package/hypertrack-sdk-ionic-capacitor) -[![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/android/build.gradle b/android/build.gradle index 7e05ec7..8a927e3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,7 +7,7 @@ ext { buildscript { ext.kotlin_version = project.hasProperty('kotlin_version') ? rootProject.ext.kotlin_version : '1.9.10' - ext.hypertrack_sdk_version = "7.8.4" + ext.hypertrack_sdk_version = "7.9.0" ext.firebase_messaging_version = "23.1.1" repositories { diff --git a/docs/classes/HyperTrack.html b/docs/classes/HyperTrack.html index 1e77bea..5538759 100644 --- a/docs/classes/HyperTrack.html +++ b/docs/classes/HyperTrack.html @@ -1,4 +1,4 @@ -HyperTrack | HyperTrack Ionic Capacitor SDK API - v3.6.3

Constructors

constructor +HyperTrack | HyperTrack Ionic Capacitor SDK API - v3.7.0

Constructors

Properties

Methods

addGeotag getDeviceId @@ -98,4 +98,4 @@

Parameters

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

        • orders: Map<string, Order>

        Returns void

Returns Subscription

Subscription

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 3a27b93..d3f45f9 100644 --- a/docs/enums/HyperTrackError.html +++ b/docs/enums/HyperTrackError.html @@ -1,4 +1,4 @@ -HyperTrackError | HyperTrack Ionic Capacitor SDK API - v3.6.3

Enumeration Members

blockedFromRunning +HyperTrackError | HyperTrack Ionic Capacitor SDK API - v3.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 6a72d15..599e6d5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -HyperTrack Ionic Capacitor SDK API - v3.6.3

HyperTrack Ionic Capacitor SDK API - v3.6.3

References

default +HyperTrack Ionic Capacitor SDK API - v3.7.0

HyperTrack Ionic Capacitor SDK API - v3.7.0

References

Enumerations

Classes

Interfaces

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/interfaces/Subscription.html b/docs/interfaces/Subscription.html index 89e7258..ed3620e 100644 --- a/docs/interfaces/Subscription.html +++ b/docs/interfaces/Subscription.html @@ -1,2 +1,2 @@ -Subscription | HyperTrack Ionic Capacitor SDK API - v3.6.3
interface Subscription {
    remove: (() => Promise<Object>);
}

Properties

Properties

remove: (() => Promise<Object>)

Type declaration

    • (): Promise<Object>
    • Returns Promise<Object>

\ No newline at end of file +Subscription | HyperTrack Ionic Capacitor SDK API - v3.7.0
interface Subscription {
    remove: (() => Promise<Object>);
}

Properties

Properties

remove: (() => Promise<Object>)

Type declaration

    • (): Promise<Object>
    • Returns Promise<Object>

\ No newline at end of file diff --git a/docs/types/Errors.html b/docs/types/Errors.html index 157e7a0..493ba30 100644 --- a/docs/types/Errors.html +++ b/docs/types/Errors.html @@ -1 +1 @@ -Errors | HyperTrack Ionic Capacitor SDK API - v3.6.3
Errors: {
    type: "errors";
    value: HyperTrackError[];
}

Type declaration

\ No newline at end of file +Errors | HyperTrack Ionic Capacitor SDK API - v3.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 f51841f..d8dd277 100644 --- a/docs/types/Failure.html +++ b/docs/types/Failure.html @@ -1 +1 @@ -Failure | HyperTrack Ionic Capacitor SDK API - v3.6.3
Failure<F>: {
    type: "failure";
    value: F;
}

Type Parameters

  • F

Type declaration

  • type: "failure"
  • value: F
\ No newline at end of file +Failure | HyperTrack Ionic Capacitor SDK API - v3.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 75ba6fe..ccf11f4 100644 --- a/docs/types/Location.html +++ b/docs/types/Location.html @@ -1 +1 @@ -Location | HyperTrack Ionic Capacitor SDK API - v3.6.3
Location: {
    latitude: number;
    longitude: number;
}

Type declaration

  • latitude: number
  • longitude: number
\ No newline at end of file +Location | HyperTrack Ionic Capacitor SDK API - v3.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 a4e9e6e..b0b8e82 100644 --- a/docs/types/LocationError.html +++ b/docs/types/LocationError.html @@ -1 +1 @@ -LocationError | HyperTrack Ionic Capacitor SDK API - v3.6.3
\ No newline at end of file +LocationError | HyperTrack Ionic Capacitor SDK API - v3.7.0
\ No newline at end of file diff --git a/docs/types/LocationWithDeviation.html b/docs/types/LocationWithDeviation.html index 12afda2..750da7d 100644 --- a/docs/types/LocationWithDeviation.html +++ b/docs/types/LocationWithDeviation.html @@ -1 +1 @@ -LocationWithDeviation | HyperTrack Ionic Capacitor SDK API - v3.6.3
LocationWithDeviation: {
    location: Location;
    deviation: number;
}

Type declaration

\ No newline at end of file +LocationWithDeviation | HyperTrack Ionic Capacitor SDK API - v3.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 848e64c..6d9dfb5 100644 --- a/docs/types/NotRunning.html +++ b/docs/types/NotRunning.html @@ -1 +1 @@ -NotRunning | HyperTrack Ionic Capacitor SDK API - v3.6.3
NotRunning: {
    type: "notRunning";
}

Type declaration

  • type: "notRunning"
\ No newline at end of file +NotRunning | HyperTrack Ionic Capacitor SDK API - v3.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 3a7f305..35d0b15 100644 --- a/docs/types/Order.html +++ b/docs/types/Order.html @@ -1 +1 @@ -Order | HyperTrack Ionic Capacitor SDK API - v3.6.3
Order: {
    orderHandle: string;
    isInsideGeofence: Result<boolean, LocationError>;
}

Type declaration

\ No newline at end of file +Order | HyperTrack Ionic Capacitor SDK API - v3.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 1231b9b..0a95bb2 100644 --- a/docs/types/OrderStatus.html +++ b/docs/types/OrderStatus.html @@ -1 +1 @@ -OrderStatus | HyperTrack Ionic Capacitor SDK API - v3.6.3
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 Ionic Capacitor SDK API - v3.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 3d2d536..d832ca0 100644 --- a/docs/types/Result.html +++ b/docs/types/Result.html @@ -1 +1 @@ -Result | HyperTrack Ionic Capacitor SDK API - v3.6.3
Result<S, F>: Success<S> | Failure<F>

Type Parameters

  • S
  • F
\ No newline at end of file +Result | HyperTrack Ionic Capacitor SDK API - v3.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 8ce9ba0..162d76f 100644 --- a/docs/types/Starting.html +++ b/docs/types/Starting.html @@ -1 +1 @@ -Starting | HyperTrack Ionic Capacitor SDK API - v3.6.3
Starting: {
    type: "starting";
}

Type declaration

  • type: "starting"
\ No newline at end of file +Starting | HyperTrack Ionic Capacitor SDK API - v3.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 47724eb..a320d99 100644 --- a/docs/types/Success.html +++ b/docs/types/Success.html @@ -1 +1 @@ -Success | HyperTrack Ionic Capacitor SDK API - v3.6.3
Success<S>: {
    type: "success";
    value: S;
}

Type Parameters

  • S

Type declaration

  • type: "success"
  • value: S
\ No newline at end of file +Success | HyperTrack Ionic Capacitor SDK API - v3.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/package-lock.json b/package-lock.json index 3823458..4a489ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hypertrack-sdk-ionic-capacitor", - "version": "3.6.3", + "version": "3.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hypertrack-sdk-ionic-capacitor", - "version": "3.6.3", + "version": "3.7.0", "license": "MIT", "devDependencies": { "@capacitor/android": "^5.6.0", diff --git a/package.json b/package.json index 411a4e7..6c531a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hypertrack-sdk-ionic-capacitor", - "version": "3.6.3", + "version": "3.7.0", "description": "Capacitor plugin for HyperTrack generation SDKs", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js",