Skip to content

error_permission on a device where it used to work #641

@yariefw

Description

@yariefw

Hello,

So I have this app where I use this plugin (version 7.0.0) and I can confirm that it works fine at least 2 months ago on my test device (Samsung A33, OneUI 7 / Android 15). But today I tested the same .listen function and found that it's not working.

Now the following log is from the example app that I git clone'd from main:

I/flutter (27405): 2025-10-28T14:26:41.293516 start listening
D/SpeechToTextPlugin(27405): Start listening
D/SpeechToTextPlugin(27405): setupRecognizerIntent
D/SpeechToTextPlugin(27405): Notify status:listening
D/SpeechToTextPlugin(27405): Start listening done
I/flutter (27405): 2025-10-28T14:26:41.299597 Received listener status: listening, listening: true
D/SpeechToTextPlugin(27405): Error 9 after start at 316 1000.0 / -100.0
D/SpeechToTextPlugin(27405): Notify status:notListening
D/SpeechToTextPlugin(27405): Notify status:doneNoResult
I/flutter (27405): 2025-10-28T14:26:41.614722 Received listener status: notListening, listening: false
I/flutter (27405): 2025-10-28T14:26:41.615371 Received listener status: done, listening: false
I/flutter (27405): 2025-10-28T14:26:41.615923 Received error status: SpeechRecognitionError msg: error_permission, permanent: true, listening: false

This is the same error I encountered in my app. And just to be clear, microphone permission is granted in all cases.

Now my question is, how can I debug this further? I suspect Samsung changed something, but I don't know where to begin looking.

I also updated my device to OneUI 8 / Android 16 and it doesn't work there either. Only other device I tried is a Redmi Note 9 Pro and it works fine there and can recognize words. I use Flutter 3.24.3 if that matters.

Any guidance would be appreciated!

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