Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microphone And Audio permissions doesn't work #2889

Closed
ScadeBlock opened this issue Sep 5, 2023 · 2 comments
Closed

Microphone And Audio permissions doesn't work #2889

ScadeBlock opened this issue Sep 5, 2023 · 2 comments
Labels

Comments

@ScadeBlock
Copy link

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.

@misl6 misl6 added the support label Sep 5, 2023
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

👋 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.

@github-actions github-actions bot closed this as completed Sep 5, 2023
@ScadeBlock
Copy link
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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants