flutter_downloader icon indicating copy to clipboard operation
flutter_downloader copied to clipboard

Can't open downloaded file

Open Boanerges1996 opened this issue 4 years ago • 4 comments

I have given all the permissions required both in the ANDROID Manifest and also allowed openFileFromNotification:true. Although I have multiple applications that can open the csv file.

Boanerges1996 avatar Aug 10 '21 19:08 Boanerges1996

Did you manage to solve this problem?

Roee-Tsur avatar Sep 09 '21 15:09 Roee-Tsur

It worked on android <=10 but never worked on android 11. So what I did was use, an app browser to download the file, and that worked for all androids.

Boanerges1996 avatar Sep 09 '21 16:09 Boanerges1996

Hey @Boanerges1996 Sorry I know this is late but can you tell me how did you acheive that ? On Android 11/12 files are getting downloaded but can't open them it says files are corrupted.

Kishan-Somaiya avatar Jun 10 '22 06:06 Kishan-Somaiya

@Kishan-Somaiya I didn't use this package for the downloading anymore because the client was waiting for a quick solution, so I just passed the download URL to the in-app browser and downloaded it for me. So it basically opens the browsers starts the download and then closes the browser.

Boanerges1996 avatar Jun 10 '22 06:06 Boanerges1996