fluttercommunity / flutter_downloader

Flutter Downloader - A plugin for creating and managing download tasks.
https://pub.dev/packages/flutter_downloader
BSD 3-Clause "New" or "Revised" License
915 stars 515 forks source link

FlutterDownloader.open() does not work on iOS 13 #299

Open valerybodak opened 4 years ago

valerybodak commented 4 years ago

FlutterDownloader.open(taskId: downloadTaskId); does not work sometimes on iOS 13 Tested on devices: iPhone XR, iPhone XS, iPhone XS MAX

niranjan-b-prajapati commented 4 years ago

I am also facing the same problem the file opens properly on the iPhone simulator iPhone 5S ios 10.3.1 but not able to open the file in iPhone 6 device having iOS 12.4.7 release build. Also shocking is the file opens on iOS simulator with iOS version 13.5. We have a release of the app soon and we are stuck with this issue. Can anyone please help.

Following is the output of my flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.5 19F96, locale en-IN)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.46.1)
[✓] Connected device (1 available)

• No issues found!
hnvn commented 4 years ago

I've just run the example project on my iPhone 11 (iOS 13.6) on both debug and release mode, I can not reproduce your issue, I can open the downloaded files normally. It seems there is problem with your file type or mime type

hpsolver commented 1 year ago

@hnvn i've just run example project on my iPhone 12 mini (iOS 15.6.1) and "[FlutterDownloader.open() does not work]". Could you please help