Add Flutter CI workflow and sync hardening docs
This commit is contained in:
@@ -22,6 +22,25 @@ Use fake gateway for local/offline development:
|
||||
flutter run --dart-define=USE_FAKE_BACKEND=true
|
||||
```
|
||||
|
||||
## Background Sync
|
||||
|
||||
Background sync (startup + resume + periodic ticks while authenticated) is
|
||||
enabled by default.
|
||||
|
||||
Control flags:
|
||||
|
||||
```bash
|
||||
flutter run \
|
||||
--dart-define=ENABLE_BACKGROUND_SYNC=true \
|
||||
--dart-define=BACKGROUND_SYNC_INTERVAL_SECONDS=180
|
||||
```
|
||||
|
||||
Disable it explicitly:
|
||||
|
||||
```bash
|
||||
flutter run --dart-define=ENABLE_BACKGROUND_SYNC=false
|
||||
```
|
||||
|
||||
## Local Persistence Backend
|
||||
|
||||
Default local store:
|
||||
|
||||
Reference in New Issue
Block a user