ποΈ SDK Architecture Overview
The Azeoo SDK is a Flutter module embedded in native host apps. You integrate through a single entry point per platform; Pigeon bridges host code to Dart.
High-level flowβ
Two-step lifecycleβ
- Initialize β API key, locale, theme, offline, deep links, safe area. No user.
- Connect β User JWT and profile measurements. User id is returned.
See Initialization.
What you use in the host appβ
| Surface | Purpose |
|---|---|
AzeooSDK / AzeooSDK.shared | initialize, connect, disconnect, dispose |
sdk.modules.nutrition / .training | Embed UI (native) |
AzeooSDKModules | Embed UI (Flutter) |
sdk.navigate(to:) | Typed navigation (Navigation) |
sdk.setModuleContainer(...) | Sync host tab bar with SDK |
sdk.user / sdk.theme | Profile and theme after connect |
Host apps integrate via Pigeon host APIs on each platform, not by calling internal Dart types directly.
Modulesβ
- Nutrition β diary, plans, scanner, search, settings
- Training β workouts, exercises, progress
Each module has embed APIs (getFragment, getView, tabHost, β¦) and typed destinations.
Repo layout (internal)β
| Path | Role |
|---|---|
lib/ | Flutter nutrition/training UI |
plugins/core/ | Pigeon, native AzeooSDK |
sdk/android, sdk/ios, sdk/react-native | Distribution packages |
example/ | Sample integrations |
See Build from source.