react-native-sound icon indicating copy to clipboard operation
react-native-sound copied to clipboard

Firebase uploaded audio file does not work in ios

Open itxhamzajaved opened this issue 3 years ago • 2 comments

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

itxhamzajaved avatar Nov 14 '22 07:11 itxhamzajaved

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.

chandu-abhi avatar Dec 16 '22 13:12 chandu-abhi

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

BraveEvidence avatar Mar 09 '23 14:03 BraveEvidence