⚙️ Configuration Flutter
Utilisez AzeooSDKInitOptions lors de AzeooSDK.initialize.
await AzeooSDK.initialize(
apiKey,
options: AzeooSDKInitOptions(
locale: 'en',
analyticsEnabled: true,
offlineSupport: true,
theme: themeConfig,
deepLinks: DeepLinkConfig(scheme: 'nutrition', host: 'nutrition.com'),
safeArea: SafeAreaConfig.all(),
connector: connectorConfig, // optional
),
);
Champs
| Champ | Défaut | Description |
|---|---|---|
locale | null | Langue de l'UI |
analyticsEnabled | true | Analytics |
offlineSupport | true | Mode hors ligne |
theme | null | ThemeConfig |
deepLinks | null | DeepLinkConfig |
safeArea | SafeAreaConfig.all() | Indications safe area de l'hôte |
connector | null | Connecteurs |
Connect (séparé de la config)
await AzeooSDK.connect(
token: jwt,
gender: gender,
height: height,
weight: weight,
);
Voir Mesures.