MediaLibray not able to access audio files on ios device

Please provide the following:

  1. SDK Version: 37
  2. Platforms(Android/iOS/web/all): iOS

Following is working perfectly on Android:

const media = await MediaLibrary.getAssetsAsync({
        mediaType: MediaLibrary.MediaType.audio,
        first: 1000,
        after: endCursor !== '' ? endCursor : null,
        sortBy: MediaLibrary.SortBy.duration
});

but when trying iPad, it is not returning any media, but if using mediaType as MediaLibrary.MediaType.photo or MediaLibrary.MediaType.video it is working perfectly.

Any pointers to resolve same.

Hey @jain22rohit, out of curiosity, have you tested on an iPhone device or just an iPad? Additionally, could you try creating a new project and seeing if the issue persists on SDK38?

Cheers,
Adam

I tried only Ipad.

Will try with SDK38