From 25a74071cbc17173ccddcbce51a396f116fc3f3b Mon Sep 17 00:00:00 2001 From: pavel-kuznetsov-hypertrack <78730314+pavel-kuznetsov-hypertrack@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:05:50 +0300 Subject: [PATCH] Update HyperTrack SDK iOS to 5.5.2 and Android to 7.5.3 (#102) Add docs links to addGeotag comments. Fix order handle serialization. Fix Kotlin formatting. --- .editorconfig | 11 +- 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/OrderStatus.html | 2 +- docs/types/Result.html | 2 +- docs/types/Starting.html | 2 +- docs/types/Success.html | 2 +- justfile | 6 +- .../android/gradle.properties | 2 +- .../package.json | 2 +- .../android/gradle.properties | 2 +- .../package.json | 2 +- .../android/gradle.properties | 2 +- .../package.json | 2 +- sdk/android/gradle.properties | 2 +- .../HyperTrackReactNativePlugin.kt | 24 ++- .../ReactNativeSerialization.kt | 4 +- .../common/HyperTrackSdkWrapper.kt | 31 ++- .../common/Serialization.kt | 204 +++++++++--------- .../common/WrapperResult.kt | 7 +- sdk/hypertrack-sdk-react-native.podspec | 2 +- sdk/ios/common/Serialization.swift | 27 ++- sdk/package.json | 2 +- sdk/src/HyperTrack/HyperTrack.ts | 15 +- .../data_types/internal/GeotagData.ts | 4 + .../data_types/internal/OrderHandle.ts | 4 + 36 files changed, 236 insertions(+), 167 deletions(-) create mode 100644 sdk/src/HyperTrack/data_types/internal/OrderHandle.ts diff --git a/.editorconfig b/.editorconfig index 061d074d..183b0d19 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,15 +5,18 @@ root = true [*] - indent_style = space indent_size = 2 - end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -[*.{kt,kts}] -indent_style = space +[**/*.{kt,kts}] indent_size = 4 +indent_style = space +ktlint_standard_enum-entry-name-case = disabled +ktlint_standard_max-line-length = disabled +ktlint_standard_no-wildcard-imports = disabled +ktlint_standard_no-consecutive-blank-lines = disabled +ktlint_standard_no-consecutive-comments = disabled diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d952c6f..5efdf8ed 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.3.1] - 2024-04-24 + +### Changed + +- Updated HyperTrack SDK iOS to [5.5.2](https://github.com/hypertrack/sdk-ios/releases/tag/5.5.2) +- Updated HyperTrack SDK Android to [7.5.3](https://github.com/hypertrack/sdk-android/releases/tag/7.5.3) + ## [13.3.0] - 2024-04-19 ### Added @@ -819,3 +826,4 @@ Initial release. [13.2.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.2.2 [13.2.3]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.2.3 [13.3.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.3.0 +[13.3.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.3.1 diff --git a/README.md b/README.md index 774c4d6e..10a1f161 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.5.1-brightgreen.svg)](https://github.com/hypertrack/sdk-ios) -[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.5.2-brightgreen.svg)](https://github.com/hypertrack/sdk-android) +[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-5.5.2-brightgreen.svg)](https://github.com/hypertrack/sdk-ios) +[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.5.3-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 cc93f485..427ddf92 100644 --- a/docs/classes/HyperTrack.html +++ b/docs/classes/HyperTrack.html @@ -1,4 +1,4 @@ -
EmitterSubscription
[iOS only] The app is not authorized to use location services.
[Android only] The user denied notification permissions needed to display a persistent notification needed for foreground location tracking.
-
Example
-