In flutter web, I created app.js file and used that in the flutter project.
When I release the project and publish it in the IIS javascript function not work.
It's working when I run the project debug or flutter run -d chrome --release.
Is your hosting supports HTTPS?
Do you check your URL and are you sure it starts with https?
And do you run your app on a browser that supports showSaveFilePicker
function?