Skip to main content
Version: 1.1.0

⚙️ Android configuration

Pass options to AzeooSDK.initialize. User JWT is passed only in connectUser.

Import types from com.azeoo.sdk.core.*.

AzeooConfig​

FieldDefaultDescription
locale—e.g. "en", "fr"
analyticsEnabledtrueAnalytics
offlineEnabledtrueOffline cache
connectionTimeoutSeconds30Network timeout

Optional at initialize​

ParameterDescription
environment"production" (default) or "staging"
themeAzeooThemeConfig — brand colors
deepLinksAzeooDeepLinkConfig — scheme, host, pathPrefix
safeAreaAzeooSafeAreaConfig — inset edges
connectorAzeooConnectorConfig — 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.