Skip to main content

πŸ—οΈ 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​

  1. Initialize β€” API key, locale, theme, offline, deep links, safe area. No user.
  2. Connect β€” User JWT and profile measurements. User id is returned.

See Initialization.

What you use in the host app​

SurfacePurpose
AzeooSDK / AzeooSDK.sharedinitialize, connect, disconnect, dispose
sdk.modules.nutrition / .trainingEmbed UI (native)
AzeooSDKModulesEmbed UI (Flutter)
sdk.navigate(to:)Typed navigation (Navigation)
sdk.setModuleContainer(...)Sync host tab bar with SDK
sdk.user / sdk.themeProfile 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)​

PathRole
lib/Flutter nutrition/training UI
plugins/core/Pigeon, native AzeooSDK
sdk/android, sdk/ios, sdk/react-nativeDistribution packages
example/Sample integrations

See Build from source.

Next steps​