googlemaps / googlemaps/flutter-navigation-sdk

[Bug]: Voice guidance in Japanese doesn't sound properly

Open
#321 4 comments 0 reactions 2 assignees Claimed by @ArturoSalazarB16 View on GitHub
priority: p2 type: bug
Dominant language
Dart
Stars
75
Forks
54
Avg merge
4d 2h
Merged PRs (30d)
5

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Description of the bug

Sometimes, voice navigation in Japanese doesn't play properly and we can hear a sound like alert when we start route navigation in release build.
Or We can hear voice in Japanese and a sound like alert at the same time.
These bugs are detected only in Android device.

### Flutter version

3.24.5-stable

### Package version

0.4.0

### Native SDK versions

- [x] I haven't changed the version of the native SDKs

### Flutter Doctor Output

```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.5, on macOS 14.2.1 23C71 darwin-arm64, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] IntelliJ IDEA Community Edition (version 2024.3.2.2)
[✓] VS Code (version 1.66.0)
[✓] VS Code (version 1.96.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!
```

### Steps to reproduce

1. Change device system language to "Japanese".
2. Build app in relese mode.
3. Open `GoogleMapsNavigationView`.
4. Start `GoogleMapsNavigator.startGuidance()`.
### Expected vs Actual Behavior

Expected behavior:
The navigation voice in Japanese playes always and a sound like alert isn't heard when `GoogleMapsNavigator.startGuidance()` started.

Actual Behavior:
sometimes, the navigation voice in Japanese doesn't playes and a sound like alert is heard when `GoogleMapsNavigator.startGuidance()` started.

### Code Sample

https://github.com/user-attachments/assets/898b2be0-48f4-412e-8059-ec96f115be7a

When we use [Example App](https://github.com/googlemaps/flutter-navigation-sdk/tree/main/example), same bug has been detected.
Please check around 0:23 of video.

*Video is the example of that navigation voice in Japanese and a sound like alert are heard at the same time.

### Additional Context

The same problem seems to occur in languages ​​other than English.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.