Permission usage #13
-
|
Hi, I want to know about this permission: Run foreground service with the type "dataSync" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @Quantum-Future, sorry for the late reply! The foreground‑service permission is required to ensure execution when the app is in the background (so the OS doesn't kill it). Right now, the service manages only the rest timer, elapsed time and notifications during a workout but the long‑term plan is to let it handle additional functions (e.g., exercises). Android 14+ requires the declaration of the type of the service, and Regarding the network permission, you can check by yourself that LibreFit doesn't request it. From AndroidManifest.xml you’ll see the following permissions: <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />Let me know if that answers your questions! |
Beta Was this translation helpful? Give feedback.
Hi @Quantum-Future, sorry for the late reply!
The foreground‑service permission is required to ensure execution when the app is in the background (so the OS doesn't kill it). Right now, the service manages only the rest timer, elapsed time and notifications during a workout but the long‑term plan is to let it handle additional functions (e.g., exercises). Android 14+ requires the declaration of the type of the service, and
dataSyncwas the closest match though it’s still not ideal.Regarding the network permission, you can check by yourself that LibreFit doesn't request it. From AndroidManifest.xml you’ll see the following permissions: