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

Added notificationsEnabled config (Closes #242) #269

Merged
merged 1 commit into from
Aug 23, 2018

Conversation

danielgindi
Copy link
Contributor

Not everyone wants the library to force those notifications on them. There are other ways to convey to the user that the app is tracking in the background.

I have kept the original default where notifications are enabled, and it's an opt-out feature.
Set notificationsEnabled: false to disable local notifications.

Depends on:
mauron85/background-geolocation-android#10

Also closes:
#242

Clarified `startForeground` and its notifications
@danielgindi danielgindi force-pushed the feature/notificationsEnabled branch from b16b7de to 8cf944e Compare August 21, 2018 06:59
@danielgindi
Copy link
Contributor Author

I clarified the docs after updating the related PR

@mauron85 mauron85 merged commit b2a3707 into mauron85:master Aug 23, 2018
@mauron85
Copy link
Owner

Merged. Thank you!

mauron85 pushed a commit that referenced this pull request Aug 23, 2018
Clarified `startForeground` and its notifications
mauron85 added a commit to mauron85/cordova-plugin-background-geolocation that referenced this pull request Aug 23, 2018
@danielgindi danielgindi deleted the feature/notificationsEnabled branch August 24, 2018 10:46
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

Successfully merging this pull request may close these issues.

2 participants