Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] SpeechToText throws Objective-C exception on iOS

Open tibuprophen opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

  • [X] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

Current Behavior

The speech-to-text service does not start recording/listening. It throws an exception instead - depending on the tts mode it is handled or not. Simulator Screenshot - iPhone 15 - 2024-03-27 at 21 57 57

Expected Behavior

The speech-to-text service should start listening.

Steps To Reproduce

  1. Open the repository
  2. Run the sample application on iOS Simulator
  3. Either the exception is handled and a toast is shown or unhandled and crashes with the exception.

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui

Environment

- .NET MAUI CommunityToolkit: 7.0.1
- OS: macOs 14.3.1 (23D60)
- .NET MAUI: Manifest: 8.0.7/8.0.100, Source: 8.0.200, Controls: 8.0.14
- Xcode: 15.2
- Simulator: iPhone 15 iOS 17.2

Anything else?

Seems to work partially on a physical device. I've re-implemented the tts feature after months in my app, but there appears to be a bug that words/sentences are cut. When I started debugging this bug, I experienced the obj-c crash.

tibuprophen avatar Mar 27 '24 21:03 tibuprophen