Infrastructure low complexity mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations

Description

Flutter platform adapter wrapping the image_picker package, providing a unified interface for camera capture and gallery selection across iOS and Android. Abstracts platform-specific permission dialogs and returns normalised file objects with path, size, and MIME type for downstream processing.

Feature: Receipt Photo Upload

image-picker-adapter

Responsibilities

  • Abstract the image_picker package behind a stable internal interface
  • Handle iOS and Android camera permission request flows
  • Handle iOS Photo Library and Android storage permission flows
  • Return normalised file objects with path, size, and MIME type
  • Support both single-image and multi-image gallery selection modes

Interfaces

captureFromCamera(options)
pickFromGallery(allowMultiple)
requestCameraPermission()
requestGalleryPermission()
checkPermission(permissionType)
getNormalizedFile(pickedFile)
getSupportedMimeTypes()

Relationships

Dependents (1)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component