Fix iOS crash, storage, and printing issues; setup apk build

This commit is contained in:
2026-05-30 23:09:36 +02:00
parent eee684a3c9
commit 54666b077a
19 changed files with 1821 additions and 149 deletions
+21
View File
@@ -5,6 +5,19 @@ export interface AppSettings {
printerIp: string;
adminPassword: string;
kioskModeEnabled: boolean;
// Photo Frames
frameMode: 'off' | 'always' | 'available';
selectedFrameId: string | null;
// Date/Time overlay
dateOverlay: 'off' | 'date' | 'datetime';
dateOverlayPosition: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'bottom-center';
// Event text (shown in date sticker & welcome)
eventText: string;
// Continuous shooting / burst
burstCount: number; // 1 = single shot, 25 = burst
burstIntervalSec: number; // seconds between burst shots
// Welcome screen text
welcomeText: string;
}
const settingsFile = new File(Paths.document, 'settings.json');
@@ -14,6 +27,14 @@ const DEFAULT_SETTINGS: AppSettings = {
printerIp: '192.168.1.100',
adminPassword: '1234',
kioskModeEnabled: false,
frameMode: 'off',
selectedFrameId: null,
dateOverlay: 'off',
dateOverlayPosition: 'bottom-right',
eventText: '',
burstCount: 1,
burstIntervalSec: 5,
welcomeText: 'Willkommen zu unserer Feier!',
};
/**