Add local data store adapter layer and Hive scaffold
This commit is contained in:
@@ -22,6 +22,20 @@ Use fake gateway for local/offline development:
|
||||
flutter run --dart-define=USE_FAKE_BACKEND=true
|
||||
```
|
||||
|
||||
## Local Persistence Backend
|
||||
|
||||
Default local store:
|
||||
|
||||
- `shared_preferences` (stable baseline)
|
||||
|
||||
Optional migration path:
|
||||
|
||||
```bash
|
||||
flutter run --dart-define=USE_HIVE_LOCAL_DB=true
|
||||
```
|
||||
|
||||
When enabled, local app state is stored in Hive via the `LocalDataStore` adapter layer.
|
||||
|
||||
## Run Tests
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user