From 64a1f3f3f5e6bb42e5eaaf2cb8a81bb0792ec0e3 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Mon, 30 Dec 2024 19:14:29 +0530 Subject: [PATCH] Added the hasFragileUserData tag in the manifest to display the "Keep app data" checkbox in the uninstall dialog. * When users attempt to uninstall the app, the "Keep app data" checkbox will appear in the uninstall dialog. By enabling it, the app's data will not be deleted upon uninstallation, allowing users to access the data again if they reinstall the app. Additionally, this is a good way to notify users that uninstalling the app can delete all app-related data, such as ZIM files. --- core/src/main/AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/AndroidManifest.xml b/core/src/main/AndroidManifest.xml index 6657c95bf..d8ddfacdf 100644 --- a/core/src/main/AndroidManifest.xml +++ b/core/src/main/AndroidManifest.xml @@ -57,6 +57,7 @@ android:largeHeap="true" android:requestLegacyExternalStorage="true" android:resizeableActivity="true" + android:hasFragileUserData="true" android:supportsRtl="true" android:theme="@style/KiwixTheme" tools:targetApi="tiramisu">