Skip to content

NO need to merge pr just fixed some bugs but not with clean code if anyone want can use it#20

Open
BreckCode wants to merge 4 commits intodevdfcom:mainfrom
BreckCode:main
Open

NO need to merge pr just fixed some bugs but not with clean code if anyone want can use it#20
BreckCode wants to merge 4 commits intodevdfcom:mainfrom
BreckCode:main

Conversation

@BreckCode
Copy link

No description provided.

Ankit Sendhav added 3 commits November 8, 2025 17:41
- Added `displayName` and `fileName` properties to `DocumentFile` to handle cases where file extensions are stripped by some SAF providers.
- Updated README.md for clarity and consistency.
- Minor formatting and documentation improvements across various files.
- Updated dependencies in pubspec.yaml and example pubspec.lock.

Signed-off-by: Alex Yackers <7115964+yackers@users.noreply.github.com>
- Introduced a new `writeFile` method in the DocumentFile extension to overwrite existing file content.
- Updated DocumentFileAction to handle the new writeFile functionality.
- Enhanced Dart extension to support writing content or bytes to a DocumentFile.
- Improved error handling for file operations.

Signed-off-by: Alex Yackers <7115964+yackers@users.noreply.github.com>
- Updated mime type detection to use a default value of "application/octet-stream" if the mime type cannot be determined from the file extension.
- Improved error handling for cases where mime type detection fails.

Signed-off-by: Alex Yackers <7115964+yackers@users.noreply.github.com>
@BreckCode BreckCode requested a review from yackers as a code owner November 13, 2025 03:38
@simonpham
Copy link

this package is abandoned. I've moved to use https://github.com/flutter-cavalry/saf_stream

#16

- Updated `DocManDocumentsProvider` to preserve file extensions when renaming documents if the new name does not include an extension.
- Modified `DocumentFileAction` to allow files without extensions and to preserve full filenames with extensions during copy and move operations.
- Adjusted `DocManFiles` to ensure proper file naming with extensions during file creation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants