Explorar el Código

background location func

Viktoriia hace 4 meses
padre
commit
199a39d69b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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: {