question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to turn off debug sounds and messages even though the debug flag is set to false

See original GitHub issue

Your 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:closed
  • Created 5 years ago
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
angel1stcommented, Sep 12, 2018

It seems after all, the issue was on my end. Accidentally, I have forgotten BackgroundGeolocation.configure({debug: true}) into background event handler, which causes debug messages and sounds, when app goes into the background. I am closing the issue now.

0reactions
robsco-gitcommented, Dec 19, 2018

It seems after all, the issue was on my end. Accidentally, I have forgotten BackgroundGeolocation.configure({debug: true}) into background 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found