Open ArjunKarki opened 1 year ago
const audio = new Sound( 'https://storage.googleapis.com/chat_bucket_aso/2ihzd4q47l73wmvcb_2.976.mp3', null, error => { setLoadingAudio(false); if (error) { console.log('failed to load the sound', error); setError(true); return; } setDuration(hp.recorderTimeFormat(audio.getDuration())); setPlayingDuration(audio.getDuration()); }, );
Works in android perfectly but got this error in ios.
Use "React-native-blob-utils", then it will work.
Works in android perfectly but got this error in ios.