|
23 | 23 | <li class="state loading">Preparing search index...</li>
|
24 | 24 | <li class="state failure">The search index is not available</li>
|
25 | 25 | </ul>
|
26 |
| - <a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a> <span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.0</span> |
| 26 | + <a href="../globals.html" class="title">[API Docs] React Native Background Geolocation</a> <span class="tsd-flag ts-flagOptional ts-flagVersion">v 3.3.1</span> |
27 | 27 | </div>
|
28 | 28 | <div class="" id="tsd-widgets">
|
29 | 29 | <a class="github" href="https://github.com/transistorsoft/react-native-background-geolocation">Github</a>
|
@@ -1342,6 +1342,11 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> logger</h3>
|
1342 | 1342 | <div class="tsd-signature tsd-kind-icon">logger<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_react_native_background_geolocation_.logger.html" class="tsd-signature-type">Logger</a></div>
|
1343 | 1343 | <aside class="tsd-sources">
|
1344 | 1344 | </aside>
|
| 1345 | + <div class="tsd-comment tsd-typography"> |
| 1346 | + <div class="lead"> |
| 1347 | + <p><a href="../interfaces/_react_native_background_geolocation_.logger.html">Logger</a> API</p> |
| 1348 | + </div> |
| 1349 | + </div> |
1345 | 1350 | </section>
|
1346 | 1351 | </section>
|
1347 | 1352 | <section class="tsd-panel-group tsd-member-group ">
|
@@ -1581,19 +1586,9 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> destroy<wbr>Log</h3>
|
1581 | 1586 | <aside class="tsd-sources">
|
1582 | 1587 | </aside>
|
1583 | 1588 | <div class="tsd-comment tsd-typography">
|
1584 |
| - <div class="lead"> |
1585 |
| - <p>Destroy the entire contents of plugin's log database.</p> |
1586 |
| - </div> |
1587 | 1589 | <dl class="tsd-comment-tags">
|
1588 |
| - <dt class="tsd-comment-tag-example">example</dt> |
1589 |
| - <dd><pre><code class="language-javascript">BackgroundGeolocation.destroyLog();</code></pre> |
1590 |
| - <h3 id="-see-also-">ℹ️ See also:</h3> |
1591 |
| - <ul> |
1592 |
| - <li><a href="../interfaces/_react_native_background_geolocation_.config.html#loglevel">logLevel</a></li> |
1593 |
| - <li><a href="_react_native_background_geolocation_.backgroundgeolocation.html#getlog">getLog</a></li> |
1594 |
| - <li><a href="_react_native_background_geolocation_.backgroundgeolocation.html#emaillog">emailLog</a></li> |
1595 |
| - <li>📘<a href="https://github.com/transistorsoft/react-native-background-geolocation/wiki/Debugging">Debugging Guide</a></li> |
1596 |
| - </ul> |
| 1590 | + <dt class="tsd-comment-tag-deprecated">deprecated</dt> |
| 1591 | + <dd><p>Use <a href="../interfaces/_react_native_background_geolocation_.logger.html#destroylog">Logger.destroyLog</a>.</p> |
1597 | 1592 | </dd>
|
1598 | 1593 | </dl>
|
1599 | 1594 | </div>
|
@@ -1621,22 +1616,9 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> email<wbr>Log</h3>
|
1621 | 1616 | <aside class="tsd-sources">
|
1622 | 1617 | </aside>
|
1623 | 1618 | <div class="tsd-comment tsd-typography">
|
1624 |
| - <div class="lead"> |
1625 |
| - <p>Email the result of <a href="_react_native_background_geolocation_.backgroundgeolocation.html#getlog">getLog</a> using device's mail client.</p> |
1626 |
| - </div> |
1627 | 1619 | <dl class="tsd-comment-tags">
|
1628 |
| - <dt class="tsd-comment-tag-example">example</dt> |
1629 |
| - <dd><pre><code class=" language-javascript" >BackgroundGeolocation.emailLog( <span class=" hljs-string" >' [email protected]' </span>).then( <span class=" hljs-function" >( <span class=" hljs-params" >success </span>) => </span> { |
1630 |
| - <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[emailLog] success'</span>); |
1631 |
| -}).catch(<span class="hljs-function">(<span class="hljs-params">error</span>) =></span> { |
1632 |
| - <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[emailLog] FAILURE: '</span>, error); |
1633 |
| -});</code></pre> |
1634 |
| - <h3 id="-see-also-">ℹ️ See also:</h3> |
1635 |
| - <ul> |
1636 |
| - <li><a href="../interfaces/_react_native_background_geolocation_.config.html#loglevel">logLevel</a></li> |
1637 |
| - <li><a href="_react_native_background_geolocation_.backgroundgeolocation.html#getlog">getLog</a></li> |
1638 |
| - <li>📘<a href="https://github.com/transistorsoft/react-native-background-geolocation/wiki/Debugging">Debugging Guide</a>.</li> |
1639 |
| - </ul> |
| 1620 | + <dt class="tsd-comment-tag-deprecated">deprecated</dt> |
| 1621 | + <dd><p>Use <a href="../interfaces/_react_native_background_geolocation_.logger.html#emaillog">Logger.emailLog</a>.</p> |
1640 | 1622 | </dd>
|
1641 | 1623 | </dl>
|
1642 | 1624 | </div>
|
@@ -2123,71 +2105,10 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Log</h3>
|
2123 | 2105 | <aside class="tsd-sources">
|
2124 | 2106 | </aside>
|
2125 | 2107 | <div class="tsd-comment tsd-typography">
|
2126 |
| - <div class="lead"> |
2127 |
| - <p>Returns the entire contents of the log database.</p> |
2128 |
| - </div> |
2129 | 2108 | <dl class="tsd-comment-tags">
|
2130 |
| - <dt class="tsd-comment-tag-break">break</dt> |
2131 |
| - <dd><p>Depending on the configured <a href="../interfaces/_react_native_background_geolocation_.config.html#loglevel">logLevel</a>, the plugin can store an <em>immense</em> amount of helpful logging information for debugging location-tracking |
2132 |
| - problems.</p> |
2133 |
| - <h3 id="-see-also-">ℹ️ See also:</h3> |
2134 |
| - <ul> |
2135 |
| - <li><a href="../interfaces/_react_native_background_geolocation_.config.html#logmaxdays">logMaxDays</a> (default <code>3</code> days)</li> |
2136 |
| - <li><a href="../interfaces/_react_native_background_geolocation_.config.html#loglevel">logLevel</a> (default <a href="_react_native_background_geolocation_.backgroundgeolocation.html#log_level_off">LOG_LEVEL_OFF</a>)</li> |
2137 |
| - <li><a href="_react_native_background_geolocation_.backgroundgeolocation.html#emaillog">emailLog</a></li> |
2138 |
| - <li>📘<a href="https://github.com/transistorsoft/react-native-background-geolocation/wiki/Debugging">Debugging Guide</a> |
2139 |
| - log data:</li> |
2140 |
| - </ul> |
| 2109 | + <dt class="tsd-comment-tag-deprecated">deprecated</dt> |
| 2110 | + <dd><p>Use <a href="../interfaces/_react_native_background_geolocation_.logger.html#getlog">Logger.getLog</a>.</p> |
2141 | 2111 | </dd>
|
2142 |
| - <dt class="tsd-comment-tag-example">example</dt> |
2143 |
| - <dd><pre><code class="language-javascript">BackgroundGeolocation.getLog.then(<span class="hljs-function">(<span class="hljs-params">log</span>) =></span> { |
2144 |
| - <span class="hljs-comment">// Warning: this string could be several megabytes.</span> |
2145 |
| - <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[log] success: '</span>, log); |
2146 |
| -});</code></pre> |
2147 |
| - <pre><code>09-19 11:12:18.716 ╔═════════════════════════════════════════════ |
2148 |
| -09-19 11:12:18.716 ║ BackgroundGeolocation<span class="hljs-built_in"> Service </span>started |
2149 |
| -09-19 11:12:18.716 ╠═════════════════════════════════════════════ |
2150 |
| -09-19 11:12:18.723 [c.t.l.BackgroundGeolocationService d] |
2151 |
| -09-19 11:12:18.723 ✅ Started <span class="hljs-keyword">in</span> foreground |
2152 |
| -09-19 11:12:18.737 [c.t.l.ActivityRecognitionService a] |
2153 |
| -09-19 11:12:18.737 🎾 Start activity updates: 10000 |
2154 |
| -09-19 11:12:18.761 [c.t.l.BackgroundGeolocationService k] |
2155 |
| -09-19 11:12:18.761 🔴 Stop heartbeat |
2156 |
| -09-19 11:12:18.768 [c.t.l.BackgroundGeolocationService a] |
2157 |
| -09-19 11:12:18.768 🎾 Start heartbeat (60) |
2158 |
| -09-19 11:12:18.778 [c.t.l.BackgroundGeolocationService a] |
2159 |
| -09-19 11:12:18.778 🔵 setPace: <span class="hljs-literal">null</span> → <span class="hljs-literal">false</span> |
2160 |
| -09-19 11:12:18.781 [c.t.l.adapter.TSConfig c] ℹ️ Persist<span class="hljs-built_in"> config |
2161 |
| -</span>09-19 11:12:18.794 [c.t.locationmanager.util.b a] |
2162 |
| -09-19 11:12:18.794 ℹ️ LocationAuthorization: Permission granted |
2163 |
| -09-19 11:12:18.842 [c.t.l.http.HttpService flush] |
2164 |
| -09-19 11:12:18.842 ╔═════════════════════════════════════════════ |
2165 |
| -09-19 11:12:18.842 ║ HTTP<span class="hljs-built_in"> Service |
2166 |
| -</span>09-19 11:12:18.842 ╠═════════════════════════════════════════════ |
2167 |
| -09-19 11:12:19.000 [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) |
2168 |
| -09-19 11:12:21.314 [c.t.l.l.SingleLocationRequest<span class="hljs-variable">$2</span> onLocationResult] |
2169 |
| -09-19 11:12:21.314 ╔═════════════════════════════════════════════ |
2170 |
| -09-19 11:12:21.314 ║ SingleLocationRequest: 1 |
2171 |
| -09-19 11:12:21.314 ╠═════════════════════════════════════════════ |
2172 |
| -09-19 11:12:21.314 ╟─ 📍 Location[fused 45.519239,-73.617058 <span class="hljs-attribute">hAcc</span>=15]999923706055 <span class="hljs-attribute">vAcc</span>=2 <span class="hljs-attribute">sAcc</span>=??? <span class="hljs-attribute">bAcc</span>=??? |
2173 |
| -09-19 11:12:21.327 [c.t.l.l.TSLocationManager onSingleLocationResult] |
2174 |
| -09-19 11:12:21.327 🔵 Acquired motionchange position, isMoving: <span class="hljs-literal">false</span> |
2175 |
| -09-19 11:12:21.342 [c.t.l.l.TSLocationManager a] 15.243 |
2176 |
| -09-19 11:12:21.405 [c.t.locationmanager.data.a.c persist] |
2177 |
| -09-19 11:12:21.405 ✅ INSERT: bca5acc8-e358-4d8f-827f-b8c0d556b7bb |
2178 |
| -09-19 11:12:21.423 [c.t.l.http.HttpService flush] |
2179 |
| -09-19 11:12:21.423 ╔═════════════════════════════════════════════ |
2180 |
| -09-19 11:12:21.423 ║ HTTP<span class="hljs-built_in"> Service |
2181 |
| -</span>09-19 11:12:21.423 ╠═════════════════════════════════════════════ |
2182 |
| -09-19 11:12:21.446 [c.t.locationmanager.data.a.c first] |
2183 |
| -09-19 11:12:21.446 ✅ Locked 1 records |
2184 |
| -09-19 11:12:21.454 [c.t.l.http.HttpService a] |
2185 |
| -09-19 11:12:21.454 🔵 HTTP POST: bca5acc8-e358-4d8f-827f-b8c0d556b7bb |
2186 |
| -09-19 11:12:22.083 [c.t.l.http.HttpService<span class="hljs-variable">$a</span> onResponse] |
2187 |
| -09-19 11:12:22.083 🔵 Response: 200 |
2188 |
| -09-19 11:12:22.100 [c.t.locationmanager.data.a.c destroy] |
2189 |
| -09-19 11:12:22.100 ✅ DESTROY: bca5acc8-e358-4d8f-827f-b8c0d556b7bb |
2190 |
| -09-19 11:12:55.226 [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%)</code></pre></dd> |
2191 | 2112 | </dl>
|
2192 | 2113 | </div>
|
2193 | 2114 | <h4 class="tsd-parameters-title">Parameters</h4>
|
@@ -4555,6 +4476,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
|
4555 | 4476 | <li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
|
4556 | 4477 | <a href="../interfaces/_react_native_background_geolocation_.providerchangeevent.html" class="tsd-kind-icon">Provider<wbr>Change<wbr>Event</a>
|
4557 | 4478 | </li>
|
| 4479 | + <li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported"> |
| 4480 | + <a href="../interfaces/_react_native_background_geolocation_.sqlquery.html" class="tsd-kind-icon">SQLQuery</a> |
| 4481 | + </li> |
4558 | 4482 | <li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
|
4559 | 4483 | <a href="../interfaces/_react_native_background_geolocation_.sensors.html" class="tsd-kind-icon">Sensors</a>
|
4560 | 4484 | </li>
|
@@ -4594,6 +4518,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
|
4594 | 4518 | <li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
|
4595 | 4519 | <a href="../modules/_react_native_background_geolocation_.html#persistmode" class="tsd-kind-icon">Persist<wbr>Mode</a>
|
4596 | 4520 | </li>
|
| 4521 | + <li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported"> |
| 4522 | + <a href="../modules/_react_native_background_geolocation_.html#sqlqueryorder" class="tsd-kind-icon">SQLQuery<wbr>Order</a> |
| 4523 | + </li> |
4597 | 4524 | <li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
|
4598 | 4525 | <a href="../modules/_react_native_background_geolocation_.html#trackingmode" class="tsd-kind-icon">Tracking<wbr>Mode</a>
|
4599 | 4526 | </li>
|
|
0 commit comments