Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea62c94c83 |
@@ -38,7 +38,7 @@ Future<void> registerBackgroundSync() async {
|
|||||||
_kTaskName,
|
_kTaskName,
|
||||||
frequency: const Duration(minutes: 15),
|
frequency: const Duration(minutes: 15),
|
||||||
constraints: Constraints(networkType: NetworkType.connected),
|
constraints: Constraints(networkType: NetworkType.connected),
|
||||||
existingWorkPolicy: ExistingWorkPolicy.keep,
|
existingWorkPolicy: ExistingPeriodicWorkPolicy.keep,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ dependencies:
|
|||||||
|
|
||||||
# Background sync and local notifications
|
# Background sync and local notifications
|
||||||
flutter_local_notifications: ^18.0.1
|
flutter_local_notifications: ^18.0.1
|
||||||
workmanager: ^0.5.2
|
workmanager: ^0.9.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
Reference in New Issue
Block a user