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

how to remove Location activated Notification #168

Closed
Chaithanya26 opened this issue Dec 31, 2019 · 2 comments
Closed

how to remove Location activated Notification #168

Chaithanya26 opened this issue Dec 31, 2019 · 2 comments

Comments

@Chaithanya26
Copy link

Your Environment

  • Plugin version:
  • Platform: iOS or Android
  • OS version:
  • Device manufacturer / model:
  • Flutter info (flutter doctor):
  • Plugin config:
PASTE_YOUR_CODE_HERE

Expected Behavior

Actual Behavior

Steps to Reproduce

Context

Debug logs

Logs
PASTE_YOUR_LOGS_HERE
@christocracy
Copy link
Member

You can't. It's required by Android OS for foreground-services. Google "Android foreground service notification".

If you only need a location periodically, like every 1000 meters, you can configure useSignificantChangesOnly: true. If you need a location frequently, according to your configured distanceFilter, the persistent foreground-service notification is required.

@Chaithanya26
Copy link
Author

Thank you @christocracy

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

2 participants