fix: change to 10 min as thie is the default and min value

This commit is contained in:
Fredrik Burmester
2025-02-20 17:23:55 +01:00
parent a472d48b3b
commit 988eede36f

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 * 60, // 1 minutes
minimumInterval: 10 * 60, // 1 minutes
stopOnTerminate: false, // android only,
startOnBoot: false, // android only
});