Skip to content

[iOS] Speech.getAvailableVoices() return [] instead of all Voices. #4

@Deepak-Impetus

Description

@Deepak-Impetus

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

When I call await Speech.getAvailableVoices() on iOS, it returns an empty list. However, when I call await Speech.getAvailableVoices('en-US'), it correctly returns the available en-US voices. On Android, both calls work as expected.

Library version

1.3.0

Environment info

Used Expo 54 with react native 0.81.4

Steps to reproduce

Reproducible example repository

https://github.com/mhpdev-com/react-native-speech/tree/main/example

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions