This commit is contained in:
Fredrik Burmester
2025-02-20 17:24:03 +01:00
parent 988eede36f
commit 5447c36bcd

View File

@@ -8,7 +8,7 @@ export const BACKGROUND_FETCH_TASK = "background-fetch";
export async function registerBackgroundFetchAsync() {
try {
BackgroundFetch.registerTaskAsync(BACKGROUND_FETCH_TASK, {
minimumInterval: 10 * 60, // 1 minutes
minimumInterval: 10 * 60, // 10 minutes
stopOnTerminate: false, // android only,
startOnBoot: false, // android only
});