Storing the current track in pouchdb.
This commit is contained in:
1 parent
82997cd53f
commit
20ae635d3f
3 files changed
+77
-8
No files matched your search
@@ -24,7 +24,7 @@ const GpxRecord: React.FC<{}> = () => {
|
||||
if (isRecording) {
|
||||
stopBackgroundGeolocation(watcher_id);
|
||||
} else {
|
||||
startBackgroundGeolocation().then((result) => {
|
||||
startBackgroundGeolocation(db).then((result) => {
|
||||
setWatcher_id(result);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user