system_media_picker 1.0.1
system_media_picker: ^1.0.1 copied to clipboard
Permission-free image and video picker for Flutter. Wraps the Android System Photo Picker and iOS PHPickerViewController behind a single Dart API — no READ_MEDIA_* / NSPhotoLibrary* declarations needed.
Changelog #
1.0.1 #
- Loosen Dart SDK constraint from
^3.11.4to>=3.0.0 <4.0.0and the Flutter constraint from>=3.18.0to>=3.10.0. The plugin's only modern Dart feature issealed class(Dart 3.0+), so it now installs cleanly on any Flutter / Dart 3 toolchain. Fixes "version solving failed" errors on apps still on older Flutter SDKs.
1.0.0 #
- First stable release.
- Image and video picking via the Android System Photo Picker
(
MediaStore.ACTION_PICK_IMAGES, with Storage Access Framework fallback for older Android) and iOSPHPickerViewController. - Permission-free on both platforms — host apps need no
READ_MEDIA_IMAGES,READ_MEDIA_VIDEO,READ_EXTERNAL_STORAGE, orNSPhotoLibraryUsageDescriptiondeclarations. - Dynamic per-pick limit,
1–20(capped by the system picker on devices that report a stricter maximum). - Optional
MediaPickerController(ChangeNotifier) withidle/loading/success/errorstate for easy UI integration. - Sealed
MediaPickerExceptionhierarchy for typed error handling. - Original-format preservation on iOS via
UTTypematching against theNSItemProvider's registered type identifiers.
1.0.1 #
- Loosen Dart SDK constraint to
>=3.0.0 <4.0.0(was^3.11.4) so apps on Flutter 3.10+ can adopt the plugin without an SDK upgrade.