Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to disable the foreground service? #751

Open
Mehuge opened this issue Apr 22, 2021 · 0 comments
Open

Is it possible to disable the foreground service? #751

Mehuge opened this issue Apr 22, 2021 · 0 comments

Comments

@Mehuge
Copy link

Mehuge commented Apr 22, 2021

  • 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant