Skip to content

Comments

Ios fullscreen presentation and source master rebase#2

Merged
MateusHBR merged 38 commits intospectora-stable-pickerfrom
ios-fullscreen-presentation
Feb 2, 2026
Merged

Ios fullscreen presentation and source master rebase#2
MateusHBR merged 38 commits intospectora-stable-pickerfrom
ios-fullscreen-presentation

Conversation

@GabrielAraujo
Copy link
Collaborator

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
…-3.27-compile-error

removing v1 embedding to fix compile on flutter 3.27
…yFileNotCreated

fix(iOS): 🐛 Image Picker to Handle Partial Failures Gracefully
@GabrielAraujo GabrielAraujo changed the base branch from master to spectora-stable-picker December 27, 2024 20:06
@MateusHBR MateusHBR merged commit e4d8370 into spectora-stable-picker Feb 2, 2026
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