Skip to content

Microphone And Audio permissions doesn't work #2889

Closed

Description

@ScadeBlock

I'm converting a flaskapp combined with SpeechRecognition Javascript into an apk (I get the html here) . And i tried to add the Microphone permission by adding:

Python:

from android.permissions import Permission, request_permissions 
request_permissions([Permission.INTERNET,Permission.MODIFY_AUDIO_SETTINGS,Permission.RECORD_AUDIO])

Buildozer.spec

android.permissions = INTERNET,RECORD_AUDIO,MODIFY_AUDIO_SETTINGS
android.api = 30

But when i run apk and check the output, i still got not-allowed error in javascript. Seems like the microphone permission doesn't works.

This problems is aready in StackOverFlow but i didn't receive thg wanted answer.

Activity

  1. github-actions commented on Sep 5, 2023

    @github-actions

    👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

    If you're having trouble installing or using python-for-android, maybe you could be interested in our quickstart guide.

    Let us know if this comment was made in error, and we'll be happy to reopen the issue.

  2. ScadeBlock commented on Sep 6, 2023

    @ScadeBlock
    Author

    I think it like a problems, because the microphone permission is not works even i added it and also use request_permission for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions