Skip to content

Commit 568acff

Browse files
authored
Merge pull request #885 from transistorsoft/fix-getLog
[Fixed] Android bug in params order to getLog. Fixed typo in Javascript API destroyLog
2 parents b183816 + 25f1ce2 commit 568acff

File tree

33 files changed

+222
-251
lines changed

33 files changed

+222
-251
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 3.3.2 - 2019-10-25
4+
- [Fixed] Android bug in params order to getLog. Thanks @mikehardy.
5+
- [Fixed] Typo in Javascript API callback in `destroyLog`. Thanks @mikehardy.
6+
37
## 3.3.1 - 2019-10-23
48
- [Fixed] Android NPE
59
```

android/src/main/java/com/transistorsoft/rnbackgroundgeolocation/RNBackgroundGeolocationModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ public void playSound(String soundId) {
762762
}
763763

764764
@ReactMethod
765-
public void getLog(final Callback success, ReadableMap params, final Callback failure) {
765+
public void getLog(ReadableMap params, final Callback success, final Callback failure) {
766766
SQLQuery query = parseSQLQuery(params);
767767

768768
TSLog.getLog(query, new TSGetLogCallback() {

docs/assets/js/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/_react_native_background_geolocation_.backgroundgeolocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<li class="state loading">Preparing search index...</li>
2424
<li class="state failure">The search index is not available</li>
2525
</ul>
26-
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.1</span>
26+
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.2</span>
2727
</div>
2828
<div class="" id="tsd-widgets">
2929
<a class="github" href="https://github.com/transistorsoft/react-native-background-geolocation">Github</a>

docs/globals.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<li class="state loading">Preparing search index...</li>
2424
<li class="state failure">The search index is not available</li>
2525
</ul>
26-
<a href="globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.1</span>
26+
<a href="globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.2</span>
2727
</div>
2828
<div class="" id="tsd-widgets">
2929
<a class="github" href="https://github.com/transistorsoft/react-native-background-geolocation">Github</a>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<li class="state loading">Preparing search index...</li>
2424
<li class="state failure">The search index is not available</li>
2525
</ul>
26-
<a href="globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.1</span>
26+
<a href="globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.2</span>
2727
</div>
2828
<div class="" id="tsd-widgets">
2929
<a class="github" href="https://github.com/transistorsoft/react-native-background-geolocation">Github</a>

docs/interfaces/_react_native_background_geolocation_.battery.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<li class="state loading">Preparing search index...</li>
2424
<li class="state failure">The search index is not available</li>
2525
</ul>
26-
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.1</span>
26+
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.2</span>
2727
</div>
2828
<div class="" id="tsd-widgets">
2929
<a class="github" href="https://github.com/transistorsoft/react-native-background-geolocation">Github</a>

docs/interfaces/_react_native_background_geolocation_.config.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<li class="state loading">Preparing search index...</li>
2424
<li class="state failure">The search index is not available</li>
2525
</ul>
26-
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.1</span>
26+
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.2</span>
2727
</div>
2828
<div class="" id="tsd-widgets">
2929
<a class="github" href="https://github.com/transistorsoft/react-native-background-geolocation">Github</a>
@@ -2311,8 +2311,10 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> log<wbr>Level</h3>
23112311
});</code></pre>
23122312
<h3 id="-see-also-">ℹ️ See also:</h3>
23132313
<ul>
2314+
<li><a href="../classes/_react_native_background_geolocation_.backgroundgeolocation.html#getlog">BackgroundGeolocation.getLog</a></li>
2315+
<li><a href="../classes/_react_native_background_geolocation_.backgroundgeolocation.html#emaillog">BackgroundGeolocation.emailLog</a></li>
23142316
<li><a href="_react_native_background_geolocation_.config.html#logmaxdays">logMaxDays</a></li>
2315-
<li><a href="_react_native_background_geolocation_.logger.html">Logger</a></li>
2317+
<li><a href="_react_native_background_geolocation_.logger.html#destroylog">destroyLog</a></li>
23162318
</ul>
23172319
<h3 id="-warning-">⚠️ Warning:</h3>
23182320
<ul>

docs/interfaces/_react_native_background_geolocation_.connectivitychangeevent.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<li class="state loading">Preparing search index...</li>
2424
<li class="state failure">The search index is not available</li>
2525
</ul>
26-
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.1</span>
26+
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.2</span>
2727
</div>
2828
<div class="" id="tsd-widgets">
2929
<a class="github" href="https://github.com/transistorsoft/react-native-background-geolocation">Github</a>

docs/interfaces/_react_native_background_geolocation_.coords.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<li class="state loading">Preparing search index...</li>
2424
<li class="state failure">The search index is not available</li>
2525
</ul>
26-
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.1</span>
26+
<a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a>&nbsp;<span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.2</span>
2727
</div>
2828
<div class="" id="tsd-widgets">
2929
<a class="github" href="https://github.com/transistorsoft/react-native-background-geolocation">Github</a>

0 commit comments

Comments
 (0)