Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix the issue of inconsistency between selected files and returned files. #2424

Open
wants to merge 7 commits into
base: v2
Choose a base branch
from

Conversation

nashaofu
Copy link
Contributor

@nashaofu nashaofu requested a review from a team as a code owner February 15, 2025 01:24
@@ -119,8 +119,7 @@ public class FilePickerController: NSObject {
extension FilePickerController: UIDocumentPickerDelegate {
public func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) {
do {
let temporaryUrls = try urls.map { try saveTemporaryFile($0) }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file path returned by saveTemporaryFile is inconsistent with $0, so the correct file cannot be obtained in the end.

Copy link
Contributor

Package Changes Through d8efbb9

There are 4 changes which include dialog with patch, dialog-js with patch, log with patch, log-js with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.17 2.0.18
api-example-js 2.0.13 2.0.14
dialog 2.2.0 2.2.1
dialog-js 2.2.0 2.2.1
log 2.2.1 2.2.2
log-js 2.2.1 2.2.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

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.

[bug] Using plugin-dialog and plugin-fs to write file on iOS is ineffective.
2 participants