cloud_storage_firebase 0.1.0
cloud_storage_firebase: ^0.1.0 copied to clipboard
Firebase Storage + Cloud Firestore implementation of cloud_storage_platform_interface. Caller-supplied paths, no uid assumption.
0.1.0 #
Initial release.
- Firebase Storage + Firestore implementation of
CloudStoragefromcloud_storage_platform_interface. - Caller-supplied paths —
FirebaseCloudStorage({firestorePath, storagePath}). No assumption about tenancy; auth and access control are the consumer's concern (via Firestore + Storage security rules). - Flat storage layout: originals at
{root}/{nodeId}.{ext}; client-supplied thumbnail / preview JPEGs at{root}/thumbs/{nodeId}.jpgand{root}/previews/{nodeId}.jpg. - Firestore-only mutations for renames and moves — the byte layer is never touched.
- Auto-rename on name conflict (
report.pdf→report (1).pdf). - Cancelled or failed uploads roll back the pre-created Firestore doc.
- Downloads cached via
flutter_cache_manager. - Link nodes: URL bookmarks stored purely in Firestore (no bytes) with optional custom thumbnail.