You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e391a79
Browse filesBrowse the repository at this point in the historyBrowse files
[file_selector_ios] Drop deprecated UIDocumentPickerMode code path (flutter#13292)
```
FileSelectorTests.swift:33:18: error: 'init(documentTypes:in:)' was deprecated in iOS 14.0
FileSelectorTests.swift:33:72: error: 'UIDocumentPickerMode' was deprecated in iOS 14.0: Use appropriate initializers instead
```
`init(forOpeningContentTypes:asCopy: true)` is equivalent to the previous `.import` mode.
Update to Flutter 3.47 which also picks up the iOS 15 minimum. Remove old availability checks.
This wasn't showing up in CI due to flutter/flutter#194517.
Fixesflutter/flutter#128713
## Pre-Review Checklist
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Copy file name to clipboardExpand all lines: packages/file_selector/file_selector_ios/ios/file_selector_ios/Sources/file_selector_ios/FileSelectorPlugin.swift
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
importFlutter
6
6
importObjectiveC
7
7
importUIKit
8
+
importUniformTypeIdentifiers
8
9
9
10
/// Bridge between a UIDocumentPickerViewController and its Pigeon callback.
0 commit comments