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
This commit introduces comprehensive improvements to the React Native Multiple Image Picker library:
🔧 Auto-linking Fix for Android:
- Fixed broken prefab dependency resolution for react-native-nitro-modules
- Implemented manual NitroModules linking to bypass prefab issues
- Added dynamic library path discovery with multiple fallback locations
- Enhanced CMake configuration with comprehensive error handling and logging
🖼️ Orientation Handling for Android:
- Automatic EXIF orientation processing to ensure images display correctly
- Dimension adjustment based on orientation (width/height swapping for 90°/270° rotations)
- Comprehensive error handling for corrupted EXIF data and memory issues
- Performance-optimized one-at-a-time processing to prevent memory exhaustion
📱 Cross-Platform realPath Consistency:
- iOS now populates realPath with the actual file path (without "file://" prefix)
- Android maintains existing behavior with real file system paths
- Consistent API allowing developers to reliably use realPath on both platforms
📝 Documentation & Testing:
- Comprehensive documentation in docs/ORIENTATION.md
- Unit tests for orientation handling (OrientationTest.kt)
- Updated TypeScript interfaces with proper platform annotations
🚨 Breaking Changes: None - All changes are backward compatible
Closes#236
0 commit comments