fix: 3 min not seconds interval

This commit is contained in:
Fredrik Burmester
2025-02-20 17:21:33 +01:00
parent 1fd4598ba8
commit a472d48b3b

View File

@@ -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
});