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({
        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 or 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?


I tried only Ipad.

Will try with SDK38