Offline Support
Enable offline functionality in the Azeoo SDK. These concepts apply to all platforms. The example below uses Flutter (Dart); for Android, iOS, and React Native, see your platform's Configuration (Android · iOS · Flutter · React Native).
Configuration
Enable offline support in the options passed at initialize:
// Flutter
await AzeooSDK.initialize(apiKey, options: AzeooSDKInitOptions(
offlineSupport: true,
));
On Android/iOS/React Native, set the equivalent flag in the SDK config (e.g. offlineEnabled).
Features
When offline support is enabled:
- Data is cached locally
- App works without internet
- The SDK uses cache strategies (cache-first / cache-only when offline)
- The SDK can surface connectivity state in-app (e.g. notifications/snackbars)
Storage
The SDK uses local storage for:
- Credentials/tokens (secure storage)
- Cached content
- Offline cache
Next Steps
- Getting Started — Install the SDK and start building on your platform.
- Analytics — Event tracking and analytics (related concept).