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
Describe the bug
After updating from file_picker: ^8.1.6 to file_picker: ^8.1.7 I can not longer pick videos from gallery. Currently to revert the issue I just fixed the version in the pubspec like: file_picker: 8.1.6 and everything works as expected.
Platform
iOS
Platform OS version
iOS 15.8
How are you picking?
try {
final result =awaitFilePicker.platform.pickFiles(
type:FileType.video,
allowMultiple:true,
allowCompression:true,
);
} catch (e) {
print(e);
}
Error Log
***** Picker:<PHPickerViewController: 0x101f87c40> didFinishPicking:(
"<PHPickerResult: 0x28118c920>"
)
* -[FilePickerPlugin picker:didFinishPicking:] [Line 493]
flutter: [MethodChannelFilePicker] Platform exception: PlatformException(file_picker_error, Failed to process any images, Item at index 0 is not an image, null)
Flutter Version details
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale en-US)
• Flutter version 3.27.1 on channel stable at /Users/user/fvm/versions/3.27.1
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (2 weeks ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/user/Android/SDK
• Platform android-35, build-tools 35.0.0
• ANDROID_HOME = /Users/user/Android/SDK
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /Applications/Android Studio.app/
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
The text was updated successfully, but these errors were encountered:
Describe the bug
After updating from
file_picker: ^8.1.6
tofile_picker: ^8.1.7
I can not longer pick videos from gallery. Currently to revert the issue I just fixed the version in the pubspec like:file_picker: 8.1.6
and everything works as expected.Platform
Platform OS version
iOS 15.8
How are you picking?
Error Log
Flutter Version details
The text was updated successfully, but these errors were encountered: