Initialize Schnappix Photo Booth application with custom UVC camera, silent Wi-Fi IPP printing, local gallery storage, and kiosk screen pinning support

This commit is contained in:
2026-05-25 16:44:15 +02:00
parent 5958319772
commit 872e1ffc86
51 changed files with 8931 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
import { requireNativeViewManager } from 'expo-modules-core';
import * as React from 'react';
import { ViewProps, Platform } from 'react-native';
const viewName = 'UsbCamera';
export interface UsbCameraViewProps extends ViewProps {
// Add props here if we decide to pass them from JS
}
export interface UsbCameraRef {
takePicture(savePath: string): Promise<string>;
isCameraConnected(): Promise<boolean>;
}
// Export the native view manager component
export const UsbCameraView: React.ComponentType<UsbCameraViewProps & { ref?: React.RefObject<any> }> =
Platform.OS === 'android'
? requireNativeViewManager(viewName)
: (() => null) as any;