Not able to turn off debug sounds and messages even though the debug flag is set to false
See original GitHub issueYour Environment
-
Plugin version: 3.0.0-alpha.37
-
Platform: Android
-
OS version: 8.0.0
-
Device manufacturer and model: S8
-
Cordova version (
cordova -v
): 8.0.0 -
Cordova platform version (
cordova platform ls
): Installed platforms: android 7.1.0 Available platforms: browser ~5.0.1 ios ~4.5.4 osx ~4.0.1 windows ~5.0.0 www ^3.12.0 -
Plugin configuration options:
locationProvider: BackgroundGeolocation.ACTIVITY_PROVIDER,
desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,
stationaryRadius: 5,
distanceFilter: 5,
notificationTitle: 'BG is tracking',
notificationText: 'enabled',
debug: false,
interval: 10000,
fastestInterval: 5000,
activitiesInterval: 10000,
stopOnTerminate: true
Context
This is a very simple app, just to try out the plugin functionality. It is important to note, I am compiling a debug apk.
Expected Behavior
Nevertheless of the above fact, I am expecting once I set debug
flag to false
all sounds and messages to be removed, as stated into the documentation.
Actual Behavior
The debug sounds and messages don’t stop.
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (2 by maintainers)
Top Results From Across the Web
How to remove all debug logging calls before building the ...
I find a far easier solution is to forget all the if checks all over the place and just use ProGuard to strip...
Read more >Turn off logging · Issue #37 · mockk/mockk - GitHub
I was wondering whether it is possible to turn off logging? I am getting all kinds of ... Set debug="false" if you want...
Read more >Disable debugging for ASP.NET application - Microsoft Learn
In the Web.config file, locate the compilation element. Debugging is enabled when the debug attribute in the compilation element is set to true....
Read more >Configure on-device developer options - Android Developers
To enable USB debugging, toggle the USB debugging option in the Developer Options menu. You can find this option in one of the...
Read more >Important Information on Debug Commands - Cisco
To Stop Debugging ... To stop a debug, use the no debug all or undebug all commands. Verify that the debugs have been...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems after all, the issue was on my end. Accidentally, I have forgotten
BackgroundGeolocation.configure({debug: true})
intobackground
event handler, which causes debug messages and sounds, when app goes into the background. I am closing the issue now.This code is in the example code in the README.md - not sure why.