Media Library music files iOS


How can I retrieve audio files from the music app?

I tried using the Expo MediaLibrary but it does not return any audio.

const media = await MediaLibrary.getAssetsAsync({

Hey @jlorencelim,

Can you create a minimal, verifiable example of this using Snack?

Also, does this occur on both platforms?




Hi @adamjnav

This is the Snack example:

I was able to retrieve files from Android but no luck on iOS. I was hoping I can also retrieve music files from iTunes.

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.