Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

Android: the share FileProvider covers the cache folder only

Duarte Santos4daa016bb310
diff --git a/frontend/android/app/src/main/res/xml/file_paths.xml b/frontend/android/app/src/main/res/xml/file_paths.xml
index bd0c4d80d..8461e06b3 100644
--- a/frontend/android/app/src/main/res/xml/file_paths.xml
+++ b/frontend/android/app/src/main/res/xml/file_paths.xml
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- What the share sheet may hand to another app: only the app's own cache folder, where
+ lib/mobile.js writes a backup export just before sharing it. The app shares nothing from
+ shared storage, so that is not exposed. -->
<paths xmlns:android="http://schemas.android.com/apk/res/android">
- <external-path name="my_images" path="." />
<cache-path name="my_cache_images" path="." />
-</paths>
\ No newline at end of file
+</paths>