Skip to content

feat(plugin): add the audio background mode, with a backgroundAudio opt-out - #19

Merged
mfazekas merged 1 commit into
mainfrom
feat/plugin-background-audio
Oct 28, 2026
Merged

mfazekas merged 1 commit into
mainfrom
feat/plugin-background-audio

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

The Expo plugin now adds audio to iOS UIBackgroundModes. The Navigation SDK's voice controller hits an assertionFailure in debug builds as soon as guidance starts without it, which already crashes the Expo example's Simulate on main. Apps that don't speak guidance can pass backgroundAudio: false, since App Review rejects unused background modes.

Split out of the CarPlay prototype (#17), where it was bundled with the CarPlay plugin changes.

…pt-out

The Navigation SDK's voice controller asserts in debug builds as soon as
guidance starts unless UIBackgroundModes contains audio, which already
crashes the Expo example's Simulate. backgroundAudio: false leaves the
background modes alone for apps that don't speak guidance.
@mfazekas
mfazekas force-pushed the feat/plugin-background-audio branch from 92e1006 to fa0e1f1 Compare October 27, 2026 20:47
@mfazekas
mfazekas marked this pull request as ready for review October 28, 2026 01:46
@mfazekas
mfazekas merged commit 33944fa into main Oct 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant