From 732dc3df7b6ab635c70d02d657d066e6c72a49c4 Mon Sep 17 00:00:00 2001 From: devthejo Date: Fri, 4 Jul 2025 10:21:18 +0200 Subject: [PATCH] fix: bg location force sync all 12 hours --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5fadc26..76b17cb 100644 --- a/index.js +++ b/index.js @@ -32,7 +32,7 @@ messaging().setBackgroundMessageHandler(onMessageReceived); registerRootComponent(App); // Constants for persistence -const FORCE_SYNC_INTERVAL = 24 * 60 * 60 * 1000; +const FORCE_SYNC_INTERVAL = 12 * 60 * 60 * 1000; // const FORCE_SYNC_INTERVAL = 5 * 60 * 1000; // DEBUGGING // Helper functions for persisting sync time