Skip to content

Commit

Permalink
fix: auto-backup frequency fixed from every minute to every day
Browse files Browse the repository at this point in the history
  • Loading branch information
SirusCodes committed Apr 15, 2024
1 parent 70c893a commit dbff917
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.4.0-beta.3 - 16/04/2024

- Fix the frequency of backups - if you are facing issues re-login in the app.

## 2.4.0-beta.2 - 15/04/2024

- Fix config issue
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/workmanager_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void registerBackupWorkmanager() {
Workmanager().registerPeriodicTask(
"backup-task",
"backup",
frequency: const Duration(minutes: 1),
frequency: const Duration(days: 1),
initialDelay: startBackupAt.difference(now),
backoffPolicy: BackoffPolicy.linear,
backoffPolicyDelay: const Duration(seconds: 10),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.4.0-beta.2+21
version: 2.4.0-beta.3+22

environment:
sdk: ">=3.3.0 <4.0.0"
Expand Down
3 changes: 1 addition & 2 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
- Improved backup and restore flows.
- Fixed a lot of bugs.
Fix the frequency of backups - if you are facing issues re-login in the app.

0 comments on commit dbff917

Please sign in to comment.