From cec4d91d53eb7890438fe425d80da4039ea5dcd3 Mon Sep 17 00:00:00 2001 From: pavel-kuznetsov-hypertrack <78730314+pavel-kuznetsov-hypertrack@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:09:15 +0300 Subject: [PATCH] Fix deserialization (#112) --- CHANGELOG.md | 7 + 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 +- justfile | 3 +- .../package.json | 3 +- .../package.json | 3 +- .../package.json | 3 +- .../HyperTrackReactNativePlugin.kt | 77 ++++---- .../HyperTrackSdkPackage.kt | 9 +- .../ReactNativeSerialization.kt | 5 +- .../common/HyperTrackSdkWrapper.kt | 107 +++++------ .../common/Serialization.kt | 172 +++++++----------- .../common/WrapperResult.kt | 28 +-- sdk/package.json | 2 +- sdk/src/HyperTrack/HyperTrack.ts | 9 +- .../data_types/internal/IsInsideGeofence.ts | 4 + .../data_types/internal/OrderInternal.ts | 3 +- 30 files changed, 215 insertions(+), 258 deletions(-) create mode 100644 sdk/src/HyperTrack/data_types/internal/IsInsideGeofence.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c305111..b6467c13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.5.1] - 2024-09-02 + +### Fixed + +- Serialization issue with `Order.isInsideGeofence` + ## [13.5.0] - 2024-08-21 ### Added @@ -908,3 +914,4 @@ Initial release. [13.3.5]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.3.5 [13.4.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.4.0 [13.5.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.5.0 +[13.5.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.5.1 diff --git a/docs/classes/HyperTrack.html b/docs/classes/HyperTrack.html index 9bf71000..6984f48a 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
-