fluttercommunity / fluttercommunity/flutter_downloader
Download is not working in IOS Simulator
- Dominant language
- Kotlin
- Stars
- 940
- Forks
- 561
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
We have implemented flutter_downloader library for downloading the either jpg/pdf files. Its working fine in Android Devices. But when we are trying to download in IOS Simulator we'r getting the error : **URLSession:task:didCompleteWithError**: in xCode.
For IOS , followed the complete guidelines which has mentioned in the library documentation.
IOS Version : 14.4
String savedDirPath = Platform.isAndroid
? await ExtStorage.getExternalStoragePublicDirectory(
ExtStorage.DIRECTORY_DOWNLOADS)
: (await getApplicationDocumentsDirectory()).path;
await FlutterDownloader.enqueue(
url: baseURL + downloadUrl,
savedDir: savedDirPath,
showNotification: true,
openFileFromNotification: true,
);
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.