update: implement event-based photo storage, add event name validation, version apks

This commit is contained in:
2026-06-12 18:45:21 +02:00
parent 652a3b8418
commit 8664c38908
8 changed files with 252 additions and 94 deletions
+3 -1
View File
@@ -57,6 +57,7 @@ interface CameraScreenProps {
footerText: string;
useFrontCamera: boolean;
isObscured: boolean;
eventText: string;
}
export default function CameraScreen({
@@ -76,6 +77,7 @@ export default function CameraScreen({
footerText,
useFrontCamera,
isObscured,
eventText,
}: CameraScreenProps) {
const [permission, requestPermission] = useCameraPermissions();
const [isUsbConnected, setIsUsbConnected] = useState<boolean>(false);
@@ -354,7 +356,7 @@ export default function CameraScreen({
// Auto-save the high-res original raw photo to the gallery
try {
await saveToGallery(capturedUri);
await saveToGallery(capturedUri, 'Raw', eventText);
console.log('Auto-saved high-res raw capture to gallery');
} catch (e) {
console.error('Failed to auto-save raw capture:', e);