diff --git a/android/app/build.gradle b/android/app/build.gradle index 3c602148..32dc0126 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -92,8 +92,8 @@ android { applicationId 'de.orfel.schnappix' minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 1 - versionName "23.01.1" + versionCode 2 + versionName "23.01.2" buildConfigField "String", "REACT_NATIVE_RELEASE_LEVEL", "\"${findProperty('reactNativeReleaseLevel') ?: 'stable'}\"" } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 7e9594f0..b20abe73 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,4 @@ - - diff --git a/apks/Schnappix_v23.01.3.aab b/apks/Schnappix_v23.01.2.aab similarity index 97% rename from apks/Schnappix_v23.01.3.aab rename to apks/Schnappix_v23.01.2.aab index 084ffdc4..2f24d6f8 100644 Binary files a/apks/Schnappix_v23.01.3.aab and b/apks/Schnappix_v23.01.2.aab differ diff --git a/apks/Schnappix_v23.01.2.apk b/apks/Schnappix_v23.01.2.apk new file mode 100644 index 00000000..f5530b22 --- /dev/null +++ b/apks/Schnappix_v23.01.2.apk @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38ccdde965cf940d42a5a8460dcbd9543430275e79f1809afb33e965aad7afe6 +size 122756089 diff --git a/apks/Schnappix_v23.01.3.apk b/apks/Schnappix_v23.01.3.apk deleted file mode 100644 index 6ad07886..00000000 --- a/apks/Schnappix_v23.01.3.apk +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b956f4729b2c13124545df9f078db85e227b6942c00b79e468038e94235f70ad -size 122756037 diff --git a/app.json b/app.json index 39b9da20..cdaf40de 100644 --- a/app.json +++ b/app.json @@ -3,7 +3,7 @@ "newArchEnabled": true, "name": "Schnappix", "slug": "Schnappix", - "version": "23.01.1", + "version": "23.01.2", "orientation": "landscape", "icon": "./Icon.png", "userInterfaceStyle": "dark", @@ -13,7 +13,7 @@ }, "android": { "package": "de.orfel.schnappix", - "versionCode": 1, + "versionCode": 2, "adaptiveIcon": { "backgroundColor": "#050510", "foregroundImage": "./Icon-padded.png" diff --git a/src/screens/CameraScreen.tsx b/src/screens/CameraScreen.tsx index 0ab9647a..f835d0ec 100644 --- a/src/screens/CameraScreen.tsx +++ b/src/screens/CameraScreen.tsx @@ -86,7 +86,7 @@ export default function CameraScreen({ const [countdown, setCountdown] = useState(countdownDuration); const [isCapturing, setIsCapturing] = useState(false); const [hasStarted, setHasStarted] = useState(false); - const [pictureSize, setPictureSize] = useState(undefined); + const [pictureSize, setPictureSize] = useState('fallback'); // Burst mode state and refs const [burstIndex, setBurstIndex] = useState(0); @@ -146,7 +146,7 @@ export default function CameraScreen({ if (permission && !permission.granted && permission.canAskAgain) { requestPermission(); } - + // Specifically for ausbc native library which needs these at runtime if (Platform.OS === 'android') { const requestAndroidPerms = async () => { @@ -218,7 +218,7 @@ export default function CameraScreen({ parsedSizes.sort((a: any, b: any) => a.pixels - b.pixels); // Find the LARGEST size available to satisfy user request for original size const optimal = parsedSizes[parsedSizes.length - 1]; - + if (optimal) { console.log('Setting max pictureSize for high-res original:', optimal.size); setPictureSize(optimal.size); @@ -322,7 +322,7 @@ export default function CameraScreen({ try { turnFlashOn(); - + // Wait for UI to render the flash before blocking main thread with capture await new Promise(resolve => setTimeout(resolve, 150)); @@ -379,7 +379,7 @@ export default function CameraScreen({ } console.log('Photo captured successfully, proceeding to PreviewScreen.'); - + // Handle burst mode const effectiveBurst = burstCount || 1; const newIndex = burstIndexRef.current + 1; @@ -484,7 +484,7 @@ export default function CameraScreen({ {/* Glow/Shadow Layer */} - ( - ))} - + {/* Gradient Text Layer over the shadow layer */} - + {/* Footer Instructions */} - {footerText === 'Display tippen! • Lächeln! • Foto schnappen!' ? ( - Display tippen! • - Lächeln! • - Foto schnappen! + ㅤDisplay tippen!ㅤ•ㅤ + ㅤLächeln!ㅤ•ㅤ + ㅤFoto schnappen! ) : ( footerText @@ -559,7 +559,7 @@ export default function CameraScreen({ Admin-Zugang Passwort eingeben, um Einstellungen zu öffnen - + {!isObscured && Platform.OS === 'android' && !useFrontCamera ? ( - ) : (