⚙️ 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
| Parameter | Description |
|---|---|
theme | AzeooThemeConfig — brand colors |
deepLinks | AzeooDeepLinkConfig — scheme, host, pathPrefix |
safeArea | AzeooSafeAreaConfig — inset edges |
connector | AzeooConnectorConfig — 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.