cordova-plugin-background-geolocation: Not able to turn off debug sounds and messages even though the debug flag is set to false

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.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (2 by maintainers)

Most upvoted comments

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.