expo-av cannot load uri

Please provide the following:

  1. 49.0.9:
  2. ios (testing from sim) - ( android works testing from real device )
  3. expo-av

I cant figured out why Iphone cant play some sounds. I will explain why some.
I am downloadin all voices to FileSystem and in my AudioMessage component
i am trying to play sounds from local url. Here is url list ( at the moment 3 )

  1. file:///Users/mirik/Library/Developer/CoreSimulator/Devices/5A25CA92-BC6A-46C5-97B3-8A5948E89482/data/Containers/Data/Application/518FE64B-93C1-46A1-8DE7-E4E531BB93A8/Documents/AV/1697018805103.mp3 ( works, iphone can play )

  2. file:///Users/mirik/Library/Developer/CoreSimulator/Devices/5A25CA92-BC6A-46C5-97B3-8A5948E89482/data/Containers/Data/Application/518FE64B-93C1-46A1-8DE7-E4E531BB93A8/Documents/AV/1697018921175.mp3 ( cant load and play )

  3. file:///Users/mirik/Library/Developer/CoreSimulator/Devices/5A25CA92-BC6A-46C5-97B3-8A5948E89482/data/Containers/Data/Application/518FE64B-93C1-46A1-8DE7-E4E531BB93A8/Documents/AV/1697024590995.mp3 ( cant load and play )

all this 3 sounds are playable in browser.

I dont have for now an apple developer account thats why i cant check it in real device. Is it only simulator issue or how to fix this ?

  • android works well


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