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

Can not pick multiple (large number) images/videos #1671

Open
1 task
SmueezApex opened this issue Jan 6, 2025 · 2 comments
Open
1 task

Can not pick multiple (large number) images/videos #1671

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

Comments

@SmueezApex
Copy link

I am using file_picker: ^8.1.7

flutter --version
Flutter 3.22.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision a14f74ff3a (8 months ago) • 2024-05-22 11:08:21 -0500
Engine • revision 55eae6864b
Tools • Dart 3.4.1 • DevTools 2.34.3

Platform

  • iOS

This is my code:

FilePickerResult? result = await FilePicker.platform.pickFiles(
            allowMultiple: true,
            type: FileType.media,
            allowCompression: false,
        );

Platform OS version
So in IOS app, if I select big amount of image or videos, the file picker takes forever to load the list of files. it keeps on loading forever.

How are you picking?

FilePickerResult? result = await FilePicker.platform.pickFiles(
            allowMultiple: true,
            type: FileType.media,
            allowCompression: false,
        );

Details to reproduce the issue
Just select more than 150 or 200 images or videos at once, and the picker keep on loading forever.

Error Log
AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:2126 (
0 AXRuntime 0x00000001cbb89ed4 _AXGetPortFromCache + 796
1 AXRuntime 0x00000001cbb8e208 AXUIElementPerformFencedActionWithValue + 700
2 UIKit 0x000000024f24e764 EE4D5D88-0FE3-30D9-BA13-563EE1B8910F + 1533796
3 libdispatch.dylib 0x0000000108434a30 _dispatch_call_block_and_release + 32
4 libdispatch.dylib 0x000000010843671c _dispatch_client_callout + 20
5 libdispatch.dylib 0x000000010843e5e8 _dispatch_lane_serial_drain + 828
6 libdispatch.dylib 0x000000010843f360 _dispatch_lane_invoke + 408
7 libdispatch.dylib 0x000000010844c5f0 _dispatch_root_queue_drain_deferred_wlh + 328
8 libdispatch.dylib 0x000000010844bc00 _dispatch_workloop_worker_thread + 580
9 libsystem_pthread.dylib 0x000000021d36fc7c _pthread_wqthread + 288
10 libsystem_pthread.dylib 0x000000021d36c488 start_wqthread + 8
)
I have been waiting for more than 20 minutes, but still it's loading.

Flutter Version details

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.1.1 23B81 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.92.2)
[✓] Connected device (4 available)
! Error: Browsing on the local area network for iphone 14. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!

@SmueezApex SmueezApex added the new issue An issue that hasn't yet been seen from the maintainer label Jan 6, 2025
@lakinsbeast
Copy link

same issue

Copy link

github-actions bot commented Feb 9, 2025

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Feb 9, 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 stale
Projects
None yet
Development

No branches or pull requests

2 participants