Is it possible to disable the foreground service?
Mehuge opened this issue · 0 comments
Mehuge commented
- Plugin version: master
- Platform: Android
- OS version: 10
- Device manufacturer and model: Samsung A20s
- Cordova version: 10
- Cordova platform version: cordova-android 9
I tried setting startForeground
to false in the config, but the plugin is still starting the foreground service (and showing the required notification associated with the foreground service).
The app has only been granted location tracking while using, and I feel that using the foreground service is dishonest as it is bypassing that permission, so I at least want to make it optional.
Anyone else come across this problem and did anyone find a solution?