Skip to content
Chris Scott edited this page Oct 28, 2015 · 1 revision

When configured with debug: true, the plugin emits sounds at various life-cycle events of background-geolocation, allowing you to get instant audio feedback about the current nature of the tracking. NOTE iOS: In addition, you must manually enable the Audio and Airplay background mode in Background Capabilities to hear these debugging sounds.

Event iOS Android
Exit stationary-region Calendar event sound n/a
Location recorded SMS-sent sound "blip"
Aggressive geolocation engaged SIRI listening sound "doodly-doo"
Acquiring stationary location "tick, tick, tick" n/a
Stationary state "bloom" long "beeeeeeep"
Geofence crossing trumpets/fanfare boop-boop-boop
Stop-detection: engaged "boo-ba-da-boo" n/a
Stop-detection: stationary "booop" n/a
Shop-detection: movement detected "boop-boop" n/a

Configuring XCode

In order to hear debug-sounds when app is in background, you have to manually enable UIBackgroundMode "audio":

Enable Background Audio