I need to download an mp3 file from my firebase storage gs://fir-b9532.appspot.com/songs/song1.mp3 and play it into my android application. I want to store the mp3 file temporar
you can stream like this
ref.getDownloadUrl().addOnSuccessListener{ try { mediaPlayer.setDataSource(uri); } catch (IOException e) {} }
to download it locally follow Doug's response and this Play Byte array in MediaPlayer - Android