Selaa lähdekoodia

background location func

Viktoriia 4 kuukautta sitten
vanhempi
commit
199a39d69b
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      src/utils/backgroundLocation.ts

+ 1 - 2
src/utils/backgroundLocation.ts

@@ -29,8 +29,7 @@ TaskManager.defineTask(LOCATION_TASK_NAME, async ({ data, error }) => {
           {
             token,
             lat: coords.latitude,
-            lng: coords.longitude,
-            background: LOCATION_TASK_NAME
+            lng: coords.longitude
           },
           {
             headers: {