Skip to content

Commit c5fa276

Browse files
committed
fix: Disable background sync on IOS
1 parent b1930bf commit c5fa276

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kitchenowl/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Future main() async {
1717
if (!kIsWeb) await findSystemLocale(); //BUG in package for web?
1818
runApp(App());
1919

20-
if (!kIsWeb && (Platform.isAndroid || Platform.isIOS)) {
20+
if (!kIsWeb && (Platform.isAndroid)) {
2121
BackgroundFetch.registerHeadlessTask(backgroundFetchHeadlessTask);
2222
}
2323
}

0 commit comments

Comments
 (0)