Skip to content

Debug Sounds

Chris Scott edited this page Jun 12, 2016 · 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"
Location sampling tick "ring tone"
Aggressive geolocation engaged SIRI listening sound "doodly-doo"
Stationary state "bloom" long "beeeeeeep"
Geofence crossing trumpets/fanfare boop-boop-boop
Stop-detection: engaged "boo-ba-da-boo" "hummmm"
Stop-detection: stationary "booop" n/a
Stop-detection: disengaged "boop-boop" "boop-boop-boop"
Heartbeat event "boop" "boop"

Configuring XCode

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

Enable Background Audio

Clone this wiki locally