LaVOZs

The World’s Largest Online Community for Developers

'; android - Flutter save file on download folder - LavOzs.Com

I'm developing a mobile app using flutter. For that I used downloads-path-provider to get the download directory of the mobile phone. The emulator returns /storage/emulated/0/Download. Also when I save a file in this directory the file can be visible in the Download folder.

But on a real devices it also returns the same directory path. /storage/emulated/0/Download Is this correct for the actual devices? Because on actual devices I cannot see the saved file in the Download folder.

Is there any solution to find the downloads directory on a real device?

Related
How to save an activity state using save instance state?
Download a file with Android, and showing the progress in a ProgressDialog
How to create a file in Android, save it in the Download folder and show the file download notification in the notification bar?
How to get the (absolute) path to the Download folder?
Save a text file from a Flutter Android app that can be accessed by user
Flutter download file to phone download directory
Do all Android devices have a common downloads directory path?