From a472d48b3b032e36256b77f49021c457f9a630a3 Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Thu, 20 Feb 2025 17:21:33 +0100 Subject: [PATCH] fix: 3 min not seconds interval --- utils/background-tasks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/background-tasks.ts b/utils/background-tasks.ts index 9b0c9e72..4926000e 100644 --- a/utils/background-tasks.ts +++ b/utils/background-tasks.ts @@ -8,7 +8,7 @@ export const BACKGROUND_FETCH_TASK = "background-fetch"; export async function registerBackgroundFetchAsync() { try { BackgroundFetch.registerTaskAsync(BACKGROUND_FETCH_TASK, { - minimumInterval: 3 * 1, // 1 minutes + minimumInterval: 3 * 60, // 1 minutes stopOnTerminate: false, // android only, startOnBoot: false, // android only });