Infrastructure
lib/infrastructure/ holds the concrete implementations of the interfaces declared in lib/domain/services/, plus the built-in sampling packages. Replace any of them to change how CAMS stores, deploys or notifies.
Where in the repo
Section titled “Where in the repo”| File | What is in it |
|---|---|
infrastructure/data_managers/ |
Console, file and SQLite data managers |
infrastructure/services/ |
Deployment, persistence, notifications, background, logging |
infrastructure/settings.dart |
Settings: paths, user id, debug level |
infrastructure/sampling_packages/ |
The built-in sampling packages, see Sampling packages |
Data managersWhere measurements are stored or uploaded
Deployment and persistenceHow studies and tasks survive restarts
Notifications and backgroundLocal notifications and Android background execution
Settings and loggingPaths, user id and debug output