SDK API (React Native)
After init (or initialize) and connect, use the package's SDK object to access user, theme, navigation, and modules. The exact API depends on the React Native package (see the package README and API Reference).
Flow
- init / initialize — API key and config (locale, analyticsEnabled, theme, safeArea, etc.). No user yet.
- connect(userId, token) — Attach user; required before modules or user API.
- user, theme, navigation, modules.nutrition, modules.training — Use as exposed by the package.
Example
await AzeooSDK.init({ apiKey, config });
await AzeooSDK.connect(userId, token);
AzeooSDK.modules.nutrition.showDiary();
AzeooSDK.modules.training.showWorkouts();