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

Issue picking FileType.video on latest v8.1.7 #1668

Open
1 task done
luis901101 opened this issue Jan 2, 2025 · 0 comments
Open
1 task done

Issue picking FileType.video on latest v8.1.7 #1668

luis901101 opened this issue Jan 2, 2025 · 0 comments
Labels
new issue An issue that hasn't yet been seen from the maintainer

Comments

@luis901101
Copy link

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 = await FilePicker.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)
@luis901101 luis901101 added the new issue An issue that hasn't yet been seen from the maintainer label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue An issue that hasn't yet been seen from the maintainer
Projects
None yet
Development

No branches or pull requests

1 participant