ποΈ 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 |
|---|---|
plugins/core/ (azeoo_core) | Canonical API β AzeooSDK, AzeooSDKInitOptions, Pigeon handlers, native AzeooSDK wrappers |
lib/ | Flutter nutrition/training UI β AzeooSDKModules, AzeooSDKContent |
sdk/android, sdk/ios, sdk/react-native | Distribution packages |
example/ | Sample integrations |
Package split
azeoo_coreβ initialize, connect, config (all platforms)azeoo_sdkβ re-exportsazeoo_core+ Flutter UI modules for pure Flutter or embedded module usage
See Build from source.