π§© Modules API
Nutrition and Training UI surfaces.
Full guide: Modules overview
Embed (after connect)β
| Platform | Nutrition | Training |
|---|---|---|
| Android | sdk.modules.nutrition.getFragment() Β· ComposeView() | sdk.modules.training.* |
| iOS | getView() Β· tabHost(for: .nutrition) | tabHost(for: .training) |
| Flutter | AzeooSDKContent or AzeooSDKModules.nutrition | AzeooSDKModules.training |
| React Native | <NutritionView /> | <TrainingView /> |
Standalone screens (AzeooScreens)β
Embed individual SDK screens without the full module shell:
// Android
sdk.modules.screens.showRecipe(recipeId) { }
sdk.modules.screens.showPlan(planId) { }
sdk.modules.screens.showPermissionTest { }
See the Android example app ScreensFragment for dialog / bottom-sheet patterns.
Navigateβ
Use sdk.navigate(destination) β preferred over legacy module show* helpers on native/RN. See Navigation.
display / hideβ
Some hosts call explicit display() / hide() when toggling visibility without removing the view β platform-specific; see embed guides.
Data APIs (advanced)β
Pigeon: AzeooNutritionApi, AzeooTrainingApi β diary, search, plans, workouts for headless or hybrid UIs.
Most apps use pre-built Flutter UI only.