csdcorp / speech_to_text

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

android.permission.MODIFY_PHONE_STATE [MissingPermission] #571

Open PHPJourney opened 6 days ago

PHPJourney commented 6 days ago

In issue #457 ,I am try install speech_to_text, from version 6 to latest. get permission error by MODIFY_PHONE_STATE. but the permission is system permission. I can't use it

please fix it.

src/main/kotlin/com/csdcorp/speech_to_text/SpeechToTextPlugin.kt:320: Error: Missing permissions required by BluetoothHeadset.startVoiceRecognition: android.permission.BLUETOOTH_CONNECT and android.permission.MODIFY_PHONE_STATE [MissingPermission]
higley commented 5 days ago

I'm having the same experience. Been trying different versions of Gradle and this library but can't resolve. This is on a brand new Flutter app. iOS builds fine, just Android fails.

sowens-csd commented 3 days ago

Does the sample app work on your device? If so have you changed your manifest to match the permissions listed in the sample app?