-
-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
Masyukov Pavel edited this page May 24, 2026
·
1 revision
PHONE BROKER follows a service-oriented Flutter architecture.
- UI layer (
screens,widgets) - Service layer (
BrokerManager,NetworkManager,SettingsManager,LogManager,ImportExportService) - Runtime/persistence layer (
EmbeddedMqttBroker,StorageManager)
- Flutter app starts.
-
AppServices.bootstrapWithProgress()initializes dependencies. - Stored broker configs are loaded.
- Dashboard and broker controls become available.
- Each broker profile maps to one embedded broker runtime instance.
- Runtime state is exposed to UI via
provider+ChangeNotifier. - Logs are collected and can be exported for analysis.
- Socket runtimes are limited by iOS lifecycle/background restrictions.