Closed cinder92 closed 10 months ago
@flarocca @Haggaish @anthonytietjen @krishcdbry when you have time, please help testing :)
On Android 14, even after granting READ_MEDIA_AUDIO
permission, the getAll
function returns an error "Permission denied". I can see the permission being allowed in the settings of the phone. Might want to check this out.
On Android 14, even after granting
READ_MEDIA_AUDIO
permission, thegetAll
function returns an error "Permission denied". I can see the permission being allowed in the settings of the phone. Might want to check this out.
hi @adey69, have you tried requesting READ_EXTERNAL_STORAGE
instead?
On Android 14, even after granting
READ_MEDIA_AUDIO
permission, thegetAll
function returns an error "Permission denied". I can see the permission being allowed in the settings of the phone. Might want to check this out.hi @adey69, have you tried requesting
READ_EXTERNAL_STORAGE
instead?
Hi @dante-cervantes-rocketlab, I did try it first but then changed it to READ_MEDIA_AUDIO
. Refer to the following:
https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions
On Android 14, even after granting
READ_MEDIA_AUDIO
permission, thegetAll
function returns an error "Permission denied". I can see the permission being allowed in the settings of the phone. Might want to check this out.hi @adey69, have you tried requesting
READ_EXTERNAL_STORAGE
instead?Hi @dante-cervantes-rocketlab, I did try it first but then changed it to
READ_MEDIA_AUDIO
. Refer to the following: https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions
Can you create a minimal reproduction of the issue and details of the device? last time i updated the code was tested on Android 13, probably i can test on Android 14 in a simulator ...
On Android 14, even after granting
READ_MEDIA_AUDIO
permission, thegetAll
function returns an error "Permission denied". I can see the permission being allowed in the settings of the phone. Might want to check this out.hi @adey69, have you tried requesting
READ_EXTERNAL_STORAGE
instead?Hi @dante-cervantes-rocketlab, I did try it first but then changed it to
READ_MEDIA_AUDIO
. Refer to the following: https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissionsCan you create a minimal reproduction of the issue and details of the device? last time i updated the code was tested on Android 13, probably i can test on Android 14 in a simulator ...
Here you go for the minimal code. It's based on the example provided by the package owner. Device information: Samsung Galaxy S23 Ultra OS: Android 14 https://github.com/adey69/music_player_test
hi @adey69 i have pushed an update in the master
branch that fixes the issue for android 14, please take a look.
hi @adey69 i have pushed an update in the
master
branch that fixes the issue for android 14, please take a look.
Hi @cinder92, working fine now. Thanks for the quick response.
@Drazail could you help to test? thanks
Tested on
How to install
https://stackoverflow.com/questions/33181297/npm-install-from-github-pull-request