Mobile File Delivery Service
Component Detail
Service Layer
low complexity
mobile
2
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Flutter-side service that receives the export binary from the backend, writes it to the device downloads directory using Flutter file system APIs, and triggers a system notification to inform the user that the file is ready. Handles storage permission requests on Android and respects iOS sandboxing rules.
mobile-file-delivery-service
Responsibilities
- Request and verify storage permissions before writing the export file
- Write the received export binary to the platform downloads directory
- Trigger a local push notification on download completion
- Handle write errors and surface them to the UI layer
Interfaces
saveExportFile(data: Uint8List, filename: string, mimeType: string): Future<String>
requestStoragePermission(): Future<bool>
notifyDownloadComplete(filePath: string): void
Relationships
Dependencies (2)
Components this component depends on