You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{notificationTitle: "some-title",notificationText: "Posting your location",startForeground: false,debug: false,}
Context
When I begin tracking location, I receive a push notification on Android with a sound and vibration. The notification is desired, but I wish to disable the sound and vibration. From everything I can find, this is not possible as of the current version.
Expected Behavior
I enable location tracking and silently receive a persistent notification in the Android status bar.
Actual Behavior
I enable location tracking and receive a sound and vibration as well as a persistent notification in the Android status bar.
Possible Fix
Add a configuration option to either turn off notifications from this library entirely, or to turn off sound and vibration.
If going the route of muting sound, it looks like you set notification priority to IMPORTANCE_DEFAULT. Changing it to IMPORTANCE_LOW should solve the issue.
Context
I am trying to silently put a persistent notification in the Android status bar that tells the user their location is being tracked in the background. I want the option to either disable sound and vibration or to disable the notification entirely.
The text was updated successfully, but these errors were encountered:
Your Environment
Context
When I begin tracking location, I receive a push notification on Android with a sound and vibration. The notification is desired, but I wish to disable the sound and vibration. From everything I can find, this is not possible as of the current version.
Expected Behavior
I enable location tracking and silently receive a persistent notification in the Android status bar.
Actual Behavior
I enable location tracking and receive a sound and vibration as well as a persistent notification in the Android status bar.
Possible Fix
Add a configuration option to either turn off notifications from this library entirely, or to turn off sound and vibration.
If going the route of muting sound, it looks like you set notification priority to
IMPORTANCE_DEFAULT
. Changing it toIMPORTANCE_LOW
should solve the issue.Context
I am trying to silently put a persistent notification in the Android status bar that tells the user their location is being tracked in the background. I want the option to either disable sound and vibration or to disable the notification entirely.
The text was updated successfully, but these errors were encountered: