【发布时间】:2021-06-15 12:43:18
【问题描述】:
我正在使用 FlutterDownloader 下载文件。
final taskId = await FlutterDownloader.enqueue(
url: url,
savedDir: (await getApplicationDocumentsDirectory()).path,
showNotification:
true, // show download progress in status bar (for Android)
openFileFromNotification:
true, // click on notification to open downloaded file (for Android)
);
在 Android 中,通知显示在通知栏中。但在 iOS 中,即使文件已成功下载并显示在项目名称下的“文件”应用程序中,也不会显示任何通知。
需要的解决方案:如何在 iOS 中显示下载通知,或者在项目文件夹下带有指向 iOS 手机“文件”应用程序链接的快餐栏。
任何帮助将不胜感激。谢谢。
【问题讨论】:
-
嗨 Awais Ahmad,你解决了这个问题吗?如果是,请指导我。我也面临同样的问题。