csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
351 stars 218 forks source link

macos permissions #442

Closed macasas closed 7 months ago

macasas commented 7 months ago

This plugin shows as supporting macos on pub.dev, but includes no help to set permissions or entitlements. Previous issues discussing macos support date back to 2021. So in 2023, does this package support speech recognition and microphone usage while running in macos?

The example app runs, but does not Initialise on clicking the button, despite various attempts to set permissions.

What is the correct way to set the permissions or entitlements so this can run on macos, using SpeechRecognition and MicrophoneUsage?

Thanks.

sowens-csd commented 7 months ago

Yes, 'support' is a bit misleading. It allows you to compile on MacOS with the plugin and causes no errors but it always reports as not allowed. There is no speech capability, just enough code to allow it not break apps that are compiled with it. Adding speech for Mac has not been a priority as few people have requested it.