⚙️ Android configuration
Pass options to AzeooSDK.initialize. User JWT is passed only in connectUser.
Import types from com.azeoo.sdk.core.*.
AzeooConfig
| Field | Default | Description |
|---|---|---|
locale | — | e.g. "en", "fr" |
analyticsEnabled | true | Analytics |
offlineEnabled | true | Offline cache |
connectionTimeoutSeconds | 30 | Network timeout |
Optional at initialize
| Parameter | Description |
|---|---|
environment | "production" (default) or "staging" |
theme | AzeooThemeConfig — brand colors |
deepLinks | AzeooDeepLinkConfig — scheme, host, pathPrefix |
safeArea | AzeooSafeAreaConfig — inset edges |
connector | AzeooConnectorConfig — see Connectors |
Example connector:
import com.azeoo.sdk.core.AzeooConnectorConfig
val connector = AzeooConnectorConfig.azeoo(clubId = 123L)
// or AzeooConnectorConfig.resamania2(clientToken = "...", clubId = 123L)
// or AzeooConnectorConfig.deciplus(domain = "...", zoneId = 1L)
Example theme: example/android/.../ThemeHelper.kt
Events (optional)
Set AzeooSDK.shared.listener to an AzeooSDKListener implementation to receive connection, profile, theme, navigation, and error callbacks from Flutter. See Events.
Connect (not config)
connectUser(token, gender, height, weight, callback)
See Measurements.
Club switching
For azeoo connector integrations with multiple clubs:
AzeooSDK.shared.setClubId(newClubId) { error -> /* ... */ }
Preserves the user session — no disconnect/reconnect required.