-
Notifications
You must be signed in to change notification settings - Fork 547
Closed
Description
Hello,
I am trying to download mp3 files from a playlist, on android no problem but on iOS the download does not seem to start but it does not give any error or warning it is simply as if it ignored the download function
Future<void> downloadFile(fileName, md5) async {
final externalDir = Platform.isAndroid ? await getExternalStorageDirectory() : await getApplicationDocumentsDirectory();
FlutterDownloader.enqueue(
url: '${dotenv.env['API_FILE_DOWNLOAD']}${fileName}',
savedDir: externalDir!.path,
fileName: "${md5}.mp3",
showNotification: true,
openFileFromNotification: true,
);
}
Can you help me?
Thank you
Metadata
Metadata
Assignees
Labels
No labels