diff --git a/CHANGELOG.md b/CHANGELOG.md index f0ef97f..f814490 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.1] - 2023-12-27 + +### Fixed + +- Undefined latitude and longitude in `addGeotagWithExpectedLocation()` response + ## [2.0.0] - 2023-11-29 We are excited to announce the release of HyperTrack Cordova SDK 2.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](https://hypertrack.com/docs/migration-guide). diff --git a/.justfile b/justfile similarity index 100% rename from .justfile rename to justfile diff --git a/package.json b/package.json index 753e3d4..7064418 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.0.0", + "version": "2.0.1", "name": "cordova-plugin-hypertrack-v3", "cordova_name": "Cordova HyperTrack Plugin", "description": "Cordova Plugin for native HyperTrack SDKs", diff --git a/plugin.xml b/plugin.xml index 6fe5f62..a25c94f 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="2.0.1"> HyperTrackPlugin Cordova HyperTrack Plugin is a wrapper around native iOS and Android SDKs that allows to integrate HyperTrack into Cordova apps. MIT diff --git a/www/Serialization.js b/www/Serialization.js index 82ab34e..acb19e5 100644 --- a/www/Serialization.js +++ b/www/Serialization.js @@ -54,7 +54,10 @@ module.exports = { if (response.type == "success") { return { type: "success", - value: response.value.value, + value: { + latitude: response.value.value.latitude, + longitude: response.value.value.longitude, + }, }; } else { return { @@ -69,7 +72,10 @@ module.exports = { return { type: "success", value: { - location: response.value.value.location, + location: { + latitude: response.value.value.location.value.latitude, + longitude: response.value.value.location.value.longitude, + }, deviation: response.value.value.deviation, }, };