Ver Fonte

background location func

Viktoriia há 4 meses atrás
pai
commit
199a39d69b
1 ficheiros alterados com 1 adições e 2 exclusões
  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: {