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, 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
- Data syncs when online
- Offline indicators shown
Storage
The SDK uses local storage for:
- User data
- Cached content
- Offline data
Next Steps
- Getting Started — Install the SDK and start building on your platform.
- Analytics — Event tracking and analytics (related concept).