Hi, it seems that you want to make progress bar when downloading file.
Why it's occured CORS error because you call the file from Frontend.
It will be Ok if you call in Backend. By the way, I can make Progress bar without any problem
As a skilled developer, I have good experiences in Angular, Ionic, Cordova, Capacitor, PHP, Laravel, etc.
I am ready to start work immediatley. Let's discuss more details. Thanks. Mikita.