And you can call the url from another computer without any problem?
Can't play an remote audio file from an API made with Laravel from a React Native Expo app
I am trying to play an audio file with Expo Audio from an API made with Laravel in a React Native app but it's returning 404 not found
this is the Laravel API code that returns the URL to the file on the server
$audio_url = 'api_link' . Storage::url($filename);
and this is the Audio player code in React Native Expo
sound.current = await Audio.Sound.createAsync( {uri: audioDetails.url}, { shouldPlay: true } );
but I am getting this error
[Unhandled promise rejection: Error: com.google.android.exoplayer2.upstream.v$a: com.google.android.exoplayer2.upstream.v$a: java.io.FileNotFoundException: : open failed: ENOENT (No such file or directory)]
please what can I do, thanks in Advance
Please or to participate in this conversation.