Skip to main content

iOS SDK Overview

The iOS SDK uses a two-step flow via AzeooSDK:

  1. initialize the SDK and Flutter engine with API key + config
  2. 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​

Next steps​