How to create a in app file upload

Hi all,
I am working on building a new app and I am having trouble coming up with the code necessary for someone to upload a file in app. Does anyone know how to build something where the app user can upload a file which goes to the firebase database?

I have the same question. Looking forward to see if you get a response