Closed juliansteenbakker closed 10 months ago
If you want to run te DFU service as a foreground service, then I believe yes. You may also follow https://github.com/NordicSemiconductor/Android-DFU-Library/issues/423#issuecomment-1845251018 and the service will run in background. This only matters if your app allows the DFU to run when app is not visible for longer than 5 minutes (?). If not, just disable it and remove the permission, together with FOREGROUND_SERVICE one.
https://github.com/NordicSemiconductor/Android-DFU-Library/blame/d5708d2c36ba6410f1212648c10ff99f28aa61d7/profile/main/src/main/AndroidManifest.xml#L37
When updating my app, i am now being asked to upload a video showing why i need this permission. I was wondering if this permission is required for DFU, since the service is not exported.