Skip to main content

🧭 Navigation

How the SDK opens screens from your host app (Android, iOS, React Native) or from Flutter (AzeooSDKModules).

In this section
TopicPage
Every routable screen + parametersDestination catalogue
Sync native tabs with FlutterModule containers
Back button / gestureBack & stack
URLs from push / emailDeep links
Platform code & examples

Use the platform selector at the top of the sidebar β†’ Navigation on your platform (Android, iOS, Flutter, or React Native).

Architecture​

  1. Host calls navigate with a typed destination (not a raw path string).
  2. Flutter switches to Nutrition or Training and pushes the matching route.
  3. If you registered a module container, the SDK also tells your native UI which tab to select.

Call navigate only after connect succeeds.


Embed vs navigate​

GoalUse
SDK lives in a tab permanentlyModules β€” user navigates inside Flutter
Open a specific screen from your button / widgetsdk.navigate(...)
External URL (push, QR, universal link)Deep links

Typed destinations (native hosts)​

ConceptAndroidiOSReact Native
Nutrition planAzeooDestination.Nutrition.Plan(id = "x").nutrition(.plan(id: "x"))Destination.nutrition.plan('x')
Training listAzeooDestination.Training.Workouts.training(.workouts)Destination.training.workouts()

Nutrition (15): home, diary, plans, plan, recipes, recipe, scanner, search, addFood, addMeal, cart, shoppingList, settings, addSelection, permissionTest

Training (5): home, workouts, exercises, progress, schedule

Full tables and snippets: Destination catalogue.

Flutter-only hosts

Use AzeooSDKModules (showMainScreen(), showPlan(), …) β€” platform Flutter β†’ Navigation.


Stack API (summary)​

MethodBehavior
navigate(destination)Go to screen (main API)
back()Pop one Flutter screen
backToRoot()Pop to current module root
canGoBack()Whether pop is possible
handleDeepLink(uri)Map URL β†’ navigate
setModuleContainer(...)Host tab sync

More: Back & stack Β· Module containers Β· Deep links.


See also​