Skip to main content
Version: 1.1.0

⚙️ iOS configuration

Pass AzeooConfig, AzeooThemeConfig, AzeooDeepLinkConfig, AzeooSafeAreaConfig, and optional AzeooConnectorConfig to AzeooSDK.initialize.

AzeooConfig

| Field | Default | Description | |-------|-------------| | locale | nil | e.g. "en" | | analyticsEnabled | true | Analytics toggle | | offlineEnabled | true | Offline support | | connectionTimeoutSeconds | 30 | Network timeout | | logLevel | .warning | SDK log verbosity (AzeooLogLevel) |

User JWT and measurements are passed in connectUser, not here.

Optional at initialize

ParameterDescription
themeAzeooThemeConfig — brand colors
deepLinksAzeooDeepLinkConfig — scheme, host, pathPrefix
safeAreaAzeooSafeAreaConfig — inset edges
connectorAzeooConnectorConfig — see Connectors

Example connector:

let connector = AzeooConnectorConfig.azeoo(clubId: 123)
// or .resamania2(clientToken: "...", clubId: 123)
// or .deciplus(domain: "...", zoneId: 1)

See example/ios_example/ios_exampleApp.swift for a full theme + safe area example.

Club switching

try await sdk.setClubId(newClubId)
// or callback-based overload

For azeoo connector only. Preserves user session.