Skip to content

Comments

Spectora stable picker#1

Draft
MateusHBR wants to merge 45 commits intomasterfrom
spectora-stable-picker
Draft

Spectora stable picker#1
MateusHBR wants to merge 45 commits intomasterfrom
spectora-stable-picker

Conversation

@MateusHBR
Copy link

No description provided.

pluxurylikestyle and others added 30 commits February 8, 2024 14:27
# Conflicts:
#	CHANGELOG.md
#	android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerDelegate.java
#	pubspec.yaml
…legate-nullsafety

Fix null safety in filepickerdelegate
… NOTE 9

Fixed an issue that always returned null when selecting files on Redmi NOTE 9
…rns_null_on_redmi_note9

Fixed an issue where null was returned when picking up files
adding support for the “m4a” format
## Problem
Currently, the iOS image picker fails entirely if any single image fails to process, causing a poor user experience. Additionally, there's a crash when attempting to access the path property of an NSDictionary, resulting in app termination.

## Solution
Updated the PHPicker implementation to:
- Handle each image independently, allowing partial successes
- Prevent crashes by implementing proper type checking and error handling
- Improve temporary file management
- Add detailed error logging for debugging

Key changes:
1. Removed all-or-nothing approach for multiple image selection
2. Added proper error collection without failing the entire operation
3. Implemented better memory management with @autoreleasepool
4. Added unique filename generation to prevent conflicts
5. Improved error messages for debugging
6. Added proper null/type checking for URL handling

## Testing
Tested scenarios:
- Selecting multiple images (mix of local and iCloud images)
- Selecting single image
- Canceling selection
- Handling invalid file types
- Memory usage with large selections
- iCloud asset download failures

## Impact
Users can now select multiple images and get results even if some images fail to process, rather than losing all selected images due to a single failure.
[Android] remove unnecessary external storage permission
MateusHBR pushed a commit that referenced this pull request Feb 2, 2026
Ios fullscreen presentation and source master rebase
fix: ensure sorting when loading items from picker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants