-
Notifications
You must be signed in to change notification settings - Fork 764
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
Can WRITE_EXTERNAL_STORAGE be optional? #268
Comments
If I understand correctly, this is going to be an issue with Android 11: https://developer.android.com/about/versions/11/privacy/storage
It looks like the plugin write files to the external storage for Android... did you find an alternative, a solution? |
any updates on this? This is a big issue for Android 11 |
For anyone interested I implemented a fix/workaround on my fork: Basically, for recording & saving audio it doesn't need WRITE_EXTERNAL_STORAGE permissions, if SDK >=29, as it will use scoped storage instead, and save the file in directories belonging to the app. If the permissions were already granted before, or the SDk is lower it behaves as usual Hope this helps others |
@uareurapid Your change has worked for us, thank you. Can you maybe create a pull request here, that would be great! |
I don't required to record and play. |
This permission has been removed in main branch and will be drop starting from version 6.0.0. |
On Android WRITE_EXTERNAL_STORAGE permission is mandatory for recording audio.
Is it strictly necessary?
The text was updated successfully, but these errors were encountered: