zmxv / react-native-sound

React Native module for playing sound clips
MIT License
2.78k stars 747 forks source link

Firebase uploaded audio file does not work in ios #806

Open itxhamzajaved opened 1 year ago

itxhamzajaved commented 1 year ago

Here is the file url: https://firebasestorage.googleapis.com/v0/b/hisnul-muslim-plus.appspot.com/o/AudioFiles%2F067jsjCHao6HfdoOQtShrToGTHN4?alt=media&token=ae421f15-ed7c-4f9a-acdc-e39f908fd05f It gives error when we try to load this url in ios but working fine in android

chandu-abhi commented 1 year ago

Yes storage links will not work in IOS, but you can use "React-native-blob-utils", using this lib, pass storage url and download that file locally and pass that locally downloaded path to sound library. that will work.

BraveEvidence commented 1 year ago

This will help https://www.youtube.com/watch?v=vVI7ZAZq5e0