FlutteriOS如何显示下载通知成功?
我正在使用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 手机“文件”应用程序链接的小吃栏中显示项目文件夹下的下载通知。
任何帮助将不胜感激。谢谢你。