Upload files(images and pdf) to firebase from browser

Hi I want to upload files such as images pdf etc to firebase from the browser, i don’t want it to be for the native app but it’s a PWA so please help me for the best solution + how to convert my file into blob and all please help

Hello, do you have any solutions yet? please share