iOS SDK Overview
The iOS SDK uses a two-step flow via AzeooSDK:
- initialize the SDK and Flutter engine with API key + config
- connectUser with user token and profile basics (gender, height, weight)
After that, use modules.nutrition to embed views or open screens.
The SDK supports:
- Nutrition: Food tracking, meal planning, recipes, barcode scanning, shopping cart
- Pre-built UI: Embed via getViewController() / getView(), or navigate to module 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β
- AzeooSDK.initialize β Initializes engine + SDK using apiKey, optional config/theme/deepLinks/safeArea/connector.
- sdk.connectUser β Connects the user with token, gender, height, weight.
- UI Components β Use sdk.modules.nutrition (
getViewController(),getView(),showDiary(), etc.). - SDK API β Access user, theme, navigation, modules, plus session lifecycle (
disconnect,getConnectionStatus).
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)