Fix iOS crash, storage, and printing issues; setup apk build
This commit is contained in:
@@ -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, 2–5 = 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!',
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user