Firebase collection to CSV on mobile

Hello everyone. I've almost finished my application but encountered an issue with exporting/downloading a CSV file generated from my collection. It works perfectly in the web version, but on Android devices, when I press the download button, nothing happens. The button responds to the press, there's vibration, but no actions are taken. I've added permissions for writing and reading external storage (Write external storage and read external storage), but it didn't solve the problem.

The structure of the CSV file is simple: I pass a list document to an Action, and from it, I need specific fields. If someone has dealt with a similar issue, please advise on the best approach. Share some code or a set of measures that need to be taken. Thanks in advance.

2