Skip to content

SpeechToText.initialize returns an unexpected value on iOS #637

@ksatoudeveloper

Description

@ksatoudeveloper

When speech recognition permissions are granted but microphone permissions are denied, the SpeechToText.initialize method returns true.
This behavior is unexpected because SpeechToText can not be used without both permissions.

Steps

  1. Launch the app.
  2. Call the SpeechToText.initialize for the first time.
  3. Grant speech recognition permission.
  4. Deny microphone permission.
  5. SpeechToText.initialize returns false. (expected)
  6. Close the app.
  7. Relaunch the app.
  8. Call the SpeechToText.initialize.
  9. SpeechToText.initialize returns true. (unexpected)
  10. Environment

  • Platform: iOS 18
  • Package: speech_to_text 7.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions