AttachmentsSection, which today calls DocumentPicker.getDocumentAsync from expo-document-picker with type: "*/*" and no Platform.OS branching—iOS and Android rely on each platform’s document picker UI, which differs (Android often exposes gallery/Photos more prominently).expo-image-picker (or another photo-library module) in package.json; uploads go through uploadInspectionAttachment in inspectionAttachmentsService.ts as multipart FormData.Mobile — attik-mobile repo
components/inspection/AttachmentsSection.tsx (handleAddFile → DocumentPicker.getDocumentAsync). Parent usage: app/(app)/inspection/[id].tsx (renders AttachmentsSection for the inspection).lib/services/inspectionAttachmentsService.ts (POST inspection/{id}/attachments)—reuse the same upload contract; scope is client pick UX and file URIs, not backend route changes unless discovery shows an iOS-specific upload gap.attik-mobile/components/inspection/AttachmentsSection.tsxattik-mobile/app/(app)/inspection/[id].tsxattik-mobile/lib/services/inspectionAttachmentsService.tsattik-mobile/package.json (current Expo modules for picker / image)Please authenticate to join the conversation.
Completed
Main App
2 months ago
Linear
Get notified by email when there are changes.
Completed
Main App
2 months ago
Linear
Get notified by email when there are changes.