Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
yoshifuku-mai-dxe opened this issue Mar 25, 2025 · 2 comments
Open
2 tasks done

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

yoshifuku-mai-dxe opened this issue Mar 25, 2025 · 2 comments
Assignees
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@yoshifuku-mai-dxe
Copy link

yoshifuku-mai-dxe commented Mar 25, 2025

Is there an existing issue for this?

  • 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

  • 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

Screen.Recording.2025-03-10.at.12.31.43.PM.mov

When we use Example App, 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.

@yoshifuku-mai-dxe yoshifuku-mai-dxe added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Mar 25, 2025
@caio1985
Copy link
Collaborator

caio1985 commented Apr 7, 2025

@ArturoSalazarB16 can you please verify?

@iwata-yasuaki
Copy link
Collaborator

By adding the following to android/app/build.gradle, Japanese audio is now played.

    buildTypes {
        release {
            signingConfig signingConfigs.release
            minifyEnabled false  // add
            shrinkResources false  // add
        }
    }

However, I think this package should play Japanese audio without doing the above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

5 participants