-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
Despite setting NavigationAudioGuidanceType.alertsAndGuidance
to enable both alerts and turn-by-turn guidance, audio alerts are not being spoken during navigation.
Flutter version
Flutter 3.35.2
Package version
0.6.4
Native SDK versions
- I haven't changed the version of the native SDKs
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.35.2, on macOS 15.5 24F74 darwin-arm64, locale en-BG) [670ms]
• Flutter version 3.35.2 on channel stable at /Users/ivelinkrastev/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 05db968908 (3 days ago), 2025-08-25 10:21:35 -0700
• Engine revision a8bfdfc394
• Dart version 3.9.0
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [3.0s]
• Android SDK at /Users/ivelinkrastev/Library/Android/sdk
• Emulator version 36.1.9.0 (build_id 13823996) (CL:N/A)
• Platform android-36, build-tools 36.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk"
.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [1,845ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16F6
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [9ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2025.1) [8ms]
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
[✓] VS Code (version 1.99.3) [7ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (3 available) [7.8s]
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 16 (API 36) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.5 24F74 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 139.0.7258.154
[✓] Network resources [882ms]
• All expected network resources are available.
• No issues found!
Steps to reproduce
- Initialize navigation with
NavigationAudioGuidanceType.alertsAndGuidance
. - Start navigation on a route with known alerts (e.g., traffic incidents, police, etc.).
- Observe that no audio alerts are spoken, even though visual alerts are present.
Expected vs Actual Behavior
Expected Behavior: Audio alerts should be spoken when NavigationAudioGuidanceType.alertsAndGuidance
is enabled, providing both visual and auditory guidance during navigation.
Actual Behavior: No audio alerts are spoken, despite the appropriate setting being enabled.
Code Sample
GoogleMapsNavigator.setAudioGuidance(
NavigationAudioGuidanceSettings(
guidanceType: NavigationAudioGuidanceType.alertsAndGuidance,
isBluetoothAudioEnabled: true,
isVibrationEnabled: false,
),
);
Additional Context
Guidance audio is working correctly, all turn-by-turn navigation is spoken as expected.