[BUG] audio permission issue #516
Labels
await test
The issue/PR is waiting for further tests.
p: Android
This issue only happens on Android platform.
r: photo_manager
Related to the photo_manager package.
s: bug
Something isn't working.
⏳WEEK
This issue is scheduled to be solved within one week.
Describe the bug
First of all, this is a problem with Android.
(iOS is heavily restricted from importing audio.)
I'm allowing all the choices of images/video/audio using the wechat asset picker.
But if you only need audio
Only audio can be selected using the ,
In other cases,
RequestType.common
allows you to select images and videos.The problem here is that even if I only allowed
RequestType.audio
, I only request permission to the media,This means that permissions for audio are not requested.
So I had to do additional work to request audio permissions, and the library didn't run unless the library allowed permissions to the media, even though only audio permissions were required.
It seems strange that you need permission to take pictures and videos, even though only audio is available for selection.
How to reproduce
Steps to reproduce the behavior:
When this code is enabled, it checks only permissions for photos and videos without asking permissions for audio.
Even if you allow permission for photos and videos, you don't have permission for audio, so you can't see anything in the actual item.
Expected behavior
There seems to be a need for an option that allows users to check authority directly without checking authority at all using
request.type
Screenshots (If contains)
Version information
The text was updated successfully, but these errors were encountered: