Skip to content

Commit 1884e72

Browse files
Fix aggGeotag with expected location return type (#63)
1 parent 658055c commit 1884e72

20 files changed

+146
-60
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## [9.2.1] - 2023-05-19
7+
8+
### Fixed
9+
10+
- Fixed `addGeotag` (with expected location) return type
11+
612
## [9.2.0] - 2023-05-18
713

814
### Added
@@ -489,6 +495,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
489495

490496
Initial release.
491497

498+
[9.2.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.2.0
499+
[9.1.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.1.1
500+
[9.1.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.1.0
501+
[9.0.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/9.0.0
492502
[8.2.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.2
493503
[8.2.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.1
494504
[8.2.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/8.2.0

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@
55
### How to update the HyperTrack SDK version and make a release?
66

77
1. Update SDK version constant
8+
89
- android
910
- android/gradle.properties - HyperTrackSdk_HyperTrackSDKVersion
1011
- ios
1112
- hypertrack-sdk-react-native.podspec
1213
- s.dependency 'HyperTrack/Objective-C', '**version**'
1314

1415
2. Increment wrapper version
15-
16+
1617
- package.json
1718
- version
18-
19+
1920
3. Update CHANGELOG.md
21+
- Add the release link to the bottom
2022
4. Update badge in README.md
2123
5. Do the release dry run with `just release` and verify that the release is correct (checklist is in the command output)
2224
6. Commit and merge to master
@@ -71,4 +73,3 @@ When you're sending a pull request:
7173
- Review the documentation to make sure it looks good.
7274
- Follow the pull request template when opening a pull request.
7375
- For pull requests that change the API or implementation, discuss with maintainers first by opening an issue.
74-

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/HyperTrack.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HyperTrack | HyperTrack React Native SDK API - v9.2.0</title><meta name="description" content="Documentation for HyperTrack React Native SDK API - v9.2.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HyperTrack | HyperTrack React Native SDK API - v9.2.1</title><meta name="description" content="Documentation for HyperTrack React Native SDK API - v9.2.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
22
<div class="tsd-toolbar-contents container">
33
<div class="table-cell" id="tsd-search" data-base="..">
44
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
55
<div class="field">
66
<div id="tsd-toolbar-links"></div></div>
77
<ul class="results">
88
<li class="state loading">Preparing search index...</li>
9-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">HyperTrack React Native SDK API - v9.2.0</a></div>
9+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">HyperTrack React Native SDK API - v9.2.1</a></div>
1010
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
1111
<div class="container container-main">
1212
<div class="col-8 col-content">
1313
<div class="tsd-page-title">
1414
<ul class="tsd-breadcrumb">
15-
<li><a href="../modules.html">HyperTrack React Native SDK API - v9.2.0</a></li>
15+
<li><a href="../modules.html">HyperTrack React Native SDK API - v9.2.1</a></li>
1616
<li><a href="HyperTrack.html">HyperTrack</a></li></ul>
1717
<h1>Class HyperTrack</h1></div>
1818
<section class="tsd-panel tsd-hierarchy">
@@ -193,7 +193,7 @@ <h5>data: <span class="tsd-signature-type">Object</span></h5>
193193
<div class="tsd-comment tsd-typography"><p>Geotad data JSON</p>
194194
</div></li></ul></div>
195195
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/Result.html" class="tsd-signature-type" data-tsd-kind="Type alias">Result</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/Location.html" class="tsd-signature-type" data-tsd-kind="Type alias">Location</a><span class="tsd-signature-symbol">, </span><a href="../types/LocationError.html" class="tsd-signature-type" data-tsd-kind="Type alias">LocationError</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4></li>
196-
<li class="tsd-signature tsd-anchor-link" id="addGeotag.addGeotag-2">add<wbr/>Geotag<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, expectedLocation<span class="tsd-signature-symbol">: </span><a href="../types/Location.html" class="tsd-signature-type" data-tsd-kind="Type alias">Location</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/Result.html" class="tsd-signature-type" data-tsd-kind="Type alias">Result</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/Location.html" class="tsd-signature-type" data-tsd-kind="Type alias">Location</a><span class="tsd-signature-symbol">, </span><a href="../types/LocationError.html" class="tsd-signature-type" data-tsd-kind="Type alias">LocationError</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#addGeotag.addGeotag-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
196+
<li class="tsd-signature tsd-anchor-link" id="addGeotag.addGeotag-2">add<wbr/>Geotag<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, expectedLocation<span class="tsd-signature-symbol">: </span><a href="../types/Location.html" class="tsd-signature-type" data-tsd-kind="Type alias">Location</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/Result.html" class="tsd-signature-type" data-tsd-kind="Type alias">Result</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/LocationWithDeviation.html" class="tsd-signature-type" data-tsd-kind="Type alias">LocationWithDeviation</a><span class="tsd-signature-symbol">, </span><a href="../types/LocationError.html" class="tsd-signature-type" data-tsd-kind="Type alias">LocationError</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#addGeotag.addGeotag-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
197197
<li class="tsd-description">
198198
<div class="tsd-comment tsd-typography"><p>Adds a new geotag with expected location</p>
199199

@@ -210,7 +210,7 @@ <h5>data: <span class="tsd-signature-type">Object</span></h5>
210210
<h5>expectedLocation: <a href="../types/Location.html" class="tsd-signature-type" data-tsd-kind="Type alias">Location</a></h5>
211211
<div class="tsd-comment tsd-typography"><p>Expected location</p>
212212
</div></li></ul></div>
213-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/Result.html" class="tsd-signature-type" data-tsd-kind="Type alias">Result</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/Location.html" class="tsd-signature-type" data-tsd-kind="Type alias">Location</a><span class="tsd-signature-symbol">, </span><a href="../types/LocationError.html" class="tsd-signature-type" data-tsd-kind="Type alias">LocationError</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
213+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/Result.html" class="tsd-signature-type" data-tsd-kind="Type alias">Result</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/LocationWithDeviation.html" class="tsd-signature-type" data-tsd-kind="Type alias">LocationWithDeviation</a><span class="tsd-signature-symbol">, </span><a href="../types/LocationError.html" class="tsd-signature-type" data-tsd-kind="Type alias">LocationError</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
214214
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="subscribeToErrors" class="tsd-anchor"></a>
215215
<h3 class="tsd-anchor-link"><span>subscribe<wbr/>To<wbr/>Errors</span><a href="#subscribeToErrors" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
216216
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -317,7 +317,7 @@ <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option
317317
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
318318
<div class="tsd-accordion-details">
319319
<ul>
320-
<li><a href="../modules.html">Hyper<wbr/>Track <wbr/>React <wbr/>Native SDK API -<wbr/> v9.2.0</a>
320+
<li><a href="../modules.html">Hyper<wbr/>Track <wbr/>React <wbr/>Native SDK API -<wbr/> v9.2.1</a>
321321
<ul></ul></li></ul></div></details></nav>
322322
<nav class="tsd-navigation secondary menu-sticky">
323323
<ul>

docs/enums/HyperTrackError.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HyperTrackError | HyperTrack React Native SDK API - v9.2.0</title><meta name="description" content="Documentation for HyperTrack React Native SDK API - v9.2.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HyperTrackError | HyperTrack React Native SDK API - v9.2.1</title><meta name="description" content="Documentation for HyperTrack React Native SDK API - v9.2.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
22
<div class="tsd-toolbar-contents container">
33
<div class="table-cell" id="tsd-search" data-base="..">
44
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
55
<div class="field">
66
<div id="tsd-toolbar-links"></div></div>
77
<ul class="results">
88
<li class="state loading">Preparing search index...</li>
9-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">HyperTrack React Native SDK API - v9.2.0</a></div>
9+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">HyperTrack React Native SDK API - v9.2.1</a></div>
1010
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
1111
<div class="container container-main">
1212
<div class="col-8 col-content">
1313
<div class="tsd-page-title">
1414
<ul class="tsd-breadcrumb">
15-
<li><a href="../modules.html">HyperTrack React Native SDK API - v9.2.0</a></li>
15+
<li><a href="../modules.html">HyperTrack React Native SDK API - v9.2.1</a></li>
1616
<li><a href="HyperTrackError.html">HyperTrackError</a></li></ul>
1717
<h1>Enumeration HyperTrackError</h1></div>
1818
<section class="tsd-panel-group tsd-index-group">
@@ -116,7 +116,7 @@ <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option
116116
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
117117
<div class="tsd-accordion-details">
118118
<ul>
119-
<li><a href="../modules.html">Hyper<wbr/>Track <wbr/>React <wbr/>Native SDK API -<wbr/> v9.2.0</a>
119+
<li><a href="../modules.html">Hyper<wbr/>Track <wbr/>React <wbr/>Native SDK API -<wbr/> v9.2.1</a>
120120
<ul></ul></li></ul></div></details></nav>
121121
<nav class="tsd-navigation secondary menu-sticky">
122122
<ul>

0 commit comments

Comments
 (0)