Prototype de récupération des dernières positions

This commit is contained in:
2024-12-11 01:53:28 +01:00
parent bdd53eb8bb
commit 9176eb014f
3 changed files with 41 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import { Platform } from 'react-native'
import { useEffect } from 'react'
const BACKGROUND_FETCH_TASK = "background-fetch"
const BACKGROUND_FETCH_INTERVAL = 60
const BACKGROUND_FETCH_INTERVAL = 60000
async function backgroundUpdate() {
const now = Date.now()