Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): Android back gesture closes app (#12221)

Ivan Mondragon174de979dbe3
diff --git a/mobile/android/app/src/main/AndroidManifest.xml b/mobile/android/app/src/main/AndroidManifest.xml
index 39827b9391..17c2830b48 100644
--- a/mobile/android/app/src/main/AndroidManifest.xml
+++ b/mobile/android/app/src/main/AndroidManifest.xml
@@ -24,7 +24,7 @@
<application android:label="Immich" android:name=".ImmichApp" android:usesCleartextTraffic="true"
android:icon="@mipmap/ic_launcher" android:requestLegacyExternalStorage="true"
- android:largeHeap="true" android:enableOnBackInvokedCallback="true">
+ android:largeHeap="true" android:enableOnBackInvokedCallback="false">
<service
android:name="androidx.work.impl.foreground.SystemForegroundService"
@@ -94,4 +94,4 @@
<data android:scheme="geo" />
</intent>
</queries>
-</manifest>
\ No newline at end of file
+</manifest>