Closed mu7mmd closed 2 months ago
This issue is stale because it has been open for 14 days with no activity.
Same with me, did you find any solution
Not sure if this is it,m but per this: "Note that on Android, files stored in the BaseDirectory.applicationDocuments cannot be opened. You need to download to a different base directory (e.g. .applicationSupport) or move the file to shared storage before attempting to open it."
But even after moving to shared storage, it was not opening.
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Open file from notification or on FileDownloader().openFile(task: _task) failed even when I used BaseDirectory.applicationSupport base directory.
Steps to reproduce the behavior:
moveToSharedStorage
function.openFile(task: _task)
function.Notes
BaseDirectory
openFile(filePath: 'identifier')
it works fine when trigger the function, but on tap the notification still failed.Expected behavior
When tap notification after download successful it opens the file and when trigger
openFile(task: _task)
alsoLogs
Code
Device Details Pixel 8 pro • Android: 14
Library Details Version: 8.5.2
Flutter Details Flutter 3.22.0 • channel stable • Dart 3.4.0