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
[file_selector] initWithDocumentTypes:inMode: is deprecated #128713
The UIDocumentPickerViewController initializer that we are using is deprecated in iOS 14; we should add an availability-gated codepath for iOS 14+ that uses the replacement. It's not immediately clear to me from the docs which of the new initializers is the one we want so that will need a bit of investigation.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
jmagman commentedon Dec 2, 2025
Deprecated lines are here now:
https://github.com/flutter/packages/blob/148dcd22d04136d741648e8e5af6c0255ba287b9/packages/file_selector/file_selector_ios/ios/file_selector_ios/Sources/file_selector_ios/FileSelectorPlugin.swift#L66-L68
UIDocumentPickerModeiOS 14 deprecation warnings #194572 as a duplicate of this issue[file_selector_ios] Drop deprecated UIDocumentPickerMode code path (f…
github-actions commentedon Oct 31, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.