Compare commits

...
2 Commits
Author SHA1 Message Date
Jannik d8c1b2f764 build: clean compile debug APK 2026-06-09 14:23:45 +02:00
Jannik 4ad2c97c91 update: local changes for debug build 2026-06-09 14:15:15 +02:00
4 changed files with 11 additions and 2 deletions
Binary file not shown.
BIN
View File
Binary file not shown.
@@ -35,10 +35,12 @@ class UsbCameraView(context: Context, appContext: AppContext) : ExpoView(context
for (device in devices) {
android.util.Log.e("UsbCameraView", "Checking device: ${device.deviceName}, class: ${device.deviceClass}, interfaces: ${device.interfaceCount}")
if (!usbManager.hasPermission(device)) {
val intent = android.content.Intent("com.schnappix.USB_PERMISSION")
intent.setPackage(context.packageName)
val permissionIntent = android.app.PendingIntent.getBroadcast(
activityContext,
0,
android.content.Intent("com.schnappix.USB_PERMISSION"),
intent,
android.app.PendingIntent.FLAG_MUTABLE or android.app.PendingIntent.FLAG_UPDATE_CURRENT
)
usbManager.requestPermission(device, permissionIntent)
+8 -1
View File
@@ -644,7 +644,7 @@ export default function CameraScreen({
{/* Render UI controls/overlays on top */}
{renderContent()}
</Animated.View>
</View>
);
}
@@ -689,6 +689,7 @@ const styles = StyleSheet.create({
backgroundColor: 'transparent',
justifyContent: 'center',
alignItems: 'center',
zIndex: 100,
},
idleContentArea: {
height: '100%',
@@ -699,6 +700,12 @@ const styles = StyleSheet.create({
flex: 1,
justifyContent: 'center',
alignItems: 'center',
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
zIndex: 100,
},
settingsButton: {
position: 'absolute',