Audio file to firebase storage

Hello guys, I’m a beginner and stuck on a thing. I’ve been trying to upload a recording done on the phone to the firebase storage. However the app closes as soon as I open it. This wasn’t happening when the storage was local and I was using TinyDb. Could someone point out the mistake and help me?

Capture

Capture1

You cannot upload audio (any binary) files to the realtime database

Either use the Firebase Storage Extension or the REST API for Firebase with the Web component

(or you could try converting the sound files to base64…)

The reason I was showing every block was because the problem I’m facing is that the app crashes as soon as it opens and I’m not sure what’s causing that