Maui
Maui copied to clipboard
[BUG] SpeechToText throws Objective-C exception on iOS
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.
Expected Behavior
The speech-to-text service should start listening.
Steps To Reproduce
- Open the repository
- Run the sample application on iOS Simulator
- 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.