iOS SDK Overview
The iOS SDK uses a single entry point and Pigeon-generated APIs: initialize the Flutter engine and get the API, then call initialize(apiKey, config, ...) and connect(userId, token). After that, use modules.nutrition and modules.training to embed views or open screens.
The SDK supports:
- Nutrition: Food tracking, meal planning, recipes, barcode scanning, shopping cart
- Training: Workout plans, exercises, progress, schedules
- Pre-built UI: Embed via getViewController() / getView() or open screens (showDiary, showWorkouts, etc.)
- Offline, analytics, localization, theming: Configured at init
Where to get started?
iOS Quick Start — Initialize, connect, and show your first screen.
Architecture
- AzeooCore.shared.initialize — Flutter engine (optional: enableMultipleInstances).
- AzeooClientApiFromEngine — Pigeon API: initialize(apiKey, config, theme, deepLinks, safeArea) then connect(userId, token).
- UI Components — modules.nutrition / modules.training getViewController(), getView(), showDiary(), showWorkouts(), etc.
- SDK API — user, theme, navigation, modules.
Sample apps
See Examples and the ios_example in the repository.
Prerequisites
- Xcode 15.0+
- iOS 13.0+ (or as required by the SDK)
- Swift 6.0+ (or compatible)
- An API key from the Azeoo Client Platform (see Getting SDK Token)