24 KiB
Changelog
Unpublished
🛠 Breaking changes
🎉 New features
🐛 Bug fixes
💡 Others
18.2.1 — 2025-12-05
This version does not introduce any user-facing changes.
18.2.0 — 2025-09-16
🎉 New features
18.1.1 — 2025-09-10
💡 Others
18.1.0 — 2025-09-08
🎉 New features
18.0.6 — 2025-09-02
💡 Others
18.0.5 — 2025-08-31
This version does not introduce any user-facing changes.
18.0.4 — 2025-08-27
This version does not introduce any user-facing changes.
18.0.3 — 2025-08-25
This version does not introduce any user-facing changes.
18.0.2 — 2025-08-16
This version does not introduce any user-facing changes.
18.0.1 — 2025-08-15
This version does not introduce any user-facing changes.
18.0.0 — 2025-08-13
🛠 Breaking changes
- [Android] Fix
getAssetsAsyncloading performance, addresolveWithFullInfooption to control whether to load full EXIF data for images. This is a breaking change for Android apps, as it might break the orientation of images in some cases. (#37957 by @kosmydel).
🎉 New features
🐛 Bug fixes
- [iOS] Fix tvOS compilation errors. (#38085 by @douglowder)
💡 Others
17.1.7 - 2025-06-04
🐛 Bug fixes
- [Android] Fix
deleteAssetsAsyncnot working on android 11 or above (#33211 by @Zeeshan404)
17.1.6 — 2025-04-30
This version does not introduce any user-facing changes.
17.1.5 — 2025-04-30
This version does not introduce any user-facing changes.
17.1.4 — 2025-04-25
🐛 Bug fixes
- Fixed
medialibraryassetschangeeventlistener not capturing assets changes. (#36459 by @aleqsio) - Fixed build error from AppDelegate.swift integration. (#36368 by @kudo)
17.1.3 — 2025-04-21
This version does not introduce any user-facing changes.
17.1.2 — 2025-04-14
This version does not introduce any user-facing changes.
17.1.1 — 2025-04-09
💡 Others
17.1.0 — 2025-04-04
🎉 New features
- [iOS] Adding
pairedVideoAssetfor Live Photo support. (#33274 by @entiendoNull) - Add
albumparameter tocreateAssetAsync. (#35686 by @behenate) - Add
initialAssetLocalUritocreateAlbumAsync. (#35692 by @behenate)
💡 Others
- [Android] Started using expo modules gradle plugin. (#34176 by @lukmccall)
- [apple] Migrate remaining
expo-module.config.jsonto unified platform syntax. (#34445 by @reichhartd) - [iOS] Fix warnings which will become errors in Swift 6. (#35288 by @behenate), (#35428 by @behenate)
- [iOS] Add
preventAutomaticLimitedAccessAlertoption to config plugin. (#35515 by @fobos531)
17.0.6 - 2025-02-14
💡 Others
- Add guards when using the module in expo go. (#34738 by @alanjhughes)
17.0.5 - 2025-01-10
This version does not introduce any user-facing changes.
17.0.4 - 2024-12-19
🐛 Bug fixes
17.0.3 — 2024-11-22
🐛 Bug fixes
- [iOS] Add back image loader to handle
ph://andassets-library://scheme for New Architecture. (#30116) by @coolsoftwaretyler (#33097 by @coolsoftwaretyler)
17.0.2 — 2024-11-05
🐛 Bug fixes
17.0.1 — 2024-11-04
This version does not introduce any user-facing changes.
17.0.0 — 2024-10-22
🛠 Breaking changes
🎉 New features
- [iOS] include more error information in native rejections (#30504 by @vonovak)
- On
Android 14+, when user gave only partial asset access,presentPermissionsPickerAsync()presents the permissions dialog to allow the user to change the selected assets. (#29882 by @vonovak)
🐛 Bug fixes
- On
iOS, getAssets crashed when result was is empty (#29969 by @vonovak) - On
Android, throw an error when deleting an asset was unsuccessful. (#29777 by @mathieupost) - Add missing
react-nativepeer dependencies for isolated modules. (#30476 by @byCedric) - On
Android, adding an asset to an album containing another album would throw an exception. (#29777 by @nafeij) - [Android] Fix exceptions when moving or deleting video assets. (#31424 by @behenate)
💡 Others
16.0.4 - 2024-06-20
🐛 Bug fixes
- On
iOS, add back image loader to handleph://andassets-library://schemes. (#29747 by @alanjhughes)
16.0.3 — 2024-04-23
This version does not introduce any user-facing changes.
16.0.2 — 2024-04-22
🐛 Bug fixes
- [Android] Fixed promise resolved twice on denied permission. (#28323 by @mathieupost)
16.0.1 — 2024-04-19
This version does not introduce any user-facing changes.
16.0.0 — 2024-04-18
🎉 New features
- [Android] Add support for allowing access permissions to only selected photos. (#27749 by @behenate)
- [Android] Add support for granular permissions. (#27729 by @behenate)
🐛 Bug fixes
- [iOS] Fix crash when passing
defaultas sorting key. (#28328 by @aleqsio) - [Android] Fixed crash on denied permission to modify assets. (#28212 by @mathieupost)
💡 Others
- Prevent config plugin from writing permissions until prebuild. (#28107 by @EvanBacon)
- [iOS] Add privacy manifest describing required reason API usage. (#27770 by @aleqsio)
- drop unused web
nameproperty. (#27437 by @EvanBacon) - [iOS] Migrate to expo modules. (#25587 by @alanjhughes)
- Removed deprecated backward compatible Gradle settings. (#28083 by @kudo)
- The
ACCESS_MEDIA_LOCATIONAndroid permission should not pulled into by default and should be pulled through Config Plugins. (#28230 by @kudo)
15.9.1 - 2023-12-19
This version does not introduce any user-facing changes.
15.9.0 — 2023-12-12
🐛 Bug fixes
- On iOS, fix iOS 14 limited library picker presentation, using
presentPermissionsPickerAsync, on nested views andrejectPromise if state is notlimited. (#25521 by @exodusanto) - Fix promises being resolved twice on Android. (#25763 by @lukmccall)
15.8.0 — 2023-11-14
🛠 Breaking changes
- Bumped iOS deployment target to 13.4. (#25063 by @gabrieldonadel)
- On
AndroidbumpcompileSdkVersionandtargetSdkVersionto34. (#24708 by @alanjhughes)
15.7.0 — 2023-10-17
🛠 Breaking changes
15.6.0 — 2023-09-04
🎉 New features
15.5.1 — 2023-08-02
🐛 Bug fixes
- On iOS, fix issue where the wrong requester class was used if the user had requested
writeOnlypermissions. (#23780 by @alanjhughes)
15.5.0 — 2023-07-28
This version does not introduce any user-facing changes.
15.4.1 - 2023-07-23
🐛 Bug fixes
- Fix
albumNeedsMigrationAsynccrashing if called with invalidalbumIdon Android. (#23516 by @lukmccall) - Fix
the bind value at index 1 is nullexception thrown byExpoMediaLibrary.migrateAlbumIfNeededAsyncon Android. (#23515 by @lukmccall)
15.4.0 — 2023-06-21
📚 3rd party library updates
- Updated
robolectricto4.10. (#22395 by @josephyanks)
🎉 New features
🐛 Bug fixes
- Fixed missing permissions error on Android when the user only requests write permissions (#22457 by @alanjhughes)
- Fixed Android build warnings for Gradle version 8. (#22537, #22609 by @kudo)
15.3.0 — 2023-05-08
🐛 Bug fixes
- Fix saving animated GIFs on iOS. (#21549 by @desi-ivanov)
15.2.1 — 2023-02-09
This version does not introduce any user-facing changes.
15.2.0 — 2023-02-03
💡 Others
- On Android bump
compileSdkVersionandtargetSdkVersionto33. (#20721 by @lukmccall)
15.1.0 — 2022-12-30
🎉 New features
- Migrated Android codebase to use the new Expo modules API. (#20232 by @alanhughes)
- Add support for granular permissions on Android 13. (#20907 by @alanhughes)
🐛 Bug fixes
- Renamed the module on iOS to match the name used on Android. (#20283 by @alanhughes)
- Fixed an issue where passing the
sortByargument toMediaLibrary.getAssetsAsyncwould cause the method to throw an error. (#21363 by @alanhughes)
15.0.0 — 2022-10-25
🛠 Breaking changes
🐛 Bug fixes
- Fix promise rejection on M1 iOS Simulator due to
UTTypeCreatePreferredIdentifierForTagnot working as expected. (#19669 by @aleqsio)
💡 Others
- [plugin] Migrate import from @expo/config-plugins to expo/config-plugins and @expo/config-types to expo/config. (#18855 by @brentvatne)
- Drop
@expo/config-pluginsdependency in favor of peer dependency onexpo. (#18595 by @EvanBacon)
14.2.0 — 2022-07-07
🐛 Bug fixes
- Use
PHAssetCollectionSubtypeAnysubtype to avoid Recently Deleted album to show up (#17561 by @chuganzy) - Fix
MediaLibrary._exportAssetcrashing iffilenameis nil. (#17999 by @ken0nek)
14.1.0 — 2022-04-18
🐛 Bug fixes
- Don't ask for
ACCESS_MEDIA_LOCATIONpermission if it's not present inAndroidManifest.xml. (#16034 by @barthap) - [plugin] Fix prebuild is failing when the
withMediaLibraryplugin is enabled on Android. (#15169 by @MorganV)
💡 Others
- Updated
@expo/config-pluginsfrom4.0.2to4.0.14(#15621 by @EvanBacon)
⚠️ Notices
- On Android bump
compileSdkVersionto31,targetSdkVersionto31andJavaversion to11. (#16941 by @bbarthec)
14.0.1 - 2022-02-01
🐛 Bug fixes
14.0.0 — 2021-12-03
💡 Others
13.0.1 — 2021-10-01
🐛 Bug fixes
- Fix permissions always returning denied on android api < 29. (#14570 by @kudo)
- Fix unhandled rejection when asset creation fails on Android. (#14583 by @barthap)
13.0.0 — 2021-09-28
🛠 Breaking changes
🎉 New features
- Added
isAvailableAsyncmethod. (#13418 by @danielmark0116) - Add
usePermissionshook from modules factory. (#13862 by @bycedric)
🐛 Bug fixes
- Restore location exif data getter for Android 10+ devices. (#14413 by @ajsmth)
- EXIF parsing failure no longer crashes the
getAssetsAsyncandgetAssetInfoAsync, the promise returnsexif: nullinstead. (#14408 by @barthap) - Fixed
createAssetAsyncandsaveToLibraryAsyncon Android 11. (#14518 by @barthap) - Fix building errors from use_frameworks! in Podfile. (#14523 by @kudo)
💡 Others
- Migrated from
@unimodules/coretoexpo-modules-core. (#13755 by @tsapeta) - Added
AlbumTypeandMediaSubtypetypes, added missingorientationkey to theAssettype. (#13936 by @Simek) - Remove
assets-library://uri scheme usage in favour ofph://(#14173 by @ajsmth) - Updated
@expo/config-plugins(#14443 by @EvanBacon)
12.1.0 — 2021-06-16
🐛 Bug fixes
- Enable kotlin in all modules. (#12716 by @wschurman)
💡 Others
- Migrated from
unimodules-file-system-interfaceandunimodules-permissions-interfacetoexpo-modules-core. (#12961 by @tsapeta)
12.0.2 — 2021-04-13
This version does not introduce any user-facing changes.
12.0.1 — 2021-03-31
This version does not introduce any user-facing changes.
12.0.0 — 2021-03-10
🛠 Breaking changes
- Changed location of newly created albums on Android. From now, albums won't be saved in the root folder. (#12017 by @lukmccall)
🎉 New features
- Converted plugin to TypeScript. (#11715 by @EvanBacon)
- Updated Android build configuration to target Android 11 (added support for Android SDK 30). (#11647 by @bbarthec)
🐛 Bug fixes
- Remove peerDependencies and unimodulePeerDependencies from Expo modules. (#11980 by @brentvatne)
- In 'getAssetInfoAsync', respect the
shouldDownloadFromNetworkoption. (#12086 by @drtangible)
11.0.0 — 2021-01-15
⚠️ Notices
- The package is now shipped with prebuilt binaries on iOS. You can read more about it on expo.fyi/prebuilt-modules. (#11224 by @tsapeta)
🛠 Breaking changes
🎉 New features
- Created config plugins (#11538 by @EvanBacon)
10.0.0 — 2020-11-17
🛠 Breaking changes
- On iOS enabled
use_frameworks!usage by replacingReactdependency withReact-Core. (#11057 by @bbarthec) - Renamed
MediaLibrary.MediaLibraryAssetChangeEventtype toMediaLibrary.MediaLibraryAssetsChangeEvent.
🎉 New features
- Added the
MediaLibrary.presentPermissionsPickerAsyncmethod that displays the system prompt allowing the user to change the selected permitted assets` on iOS.
9.2.1 — 2020-09-02
🐛 Bug fixes
- Fixed
RuntimeException: setDataSource failed: status = 0x80000000caused byMediaMetadataRetriever. (#9855 by @lukmccall) - Fixed
media-librarymethods failing when not all permissions were granted on iOS 14. (#10026 by @lukmccall)
9.2.0 — 2020-08-18
🐛 Bug fixes
9.1.0 — 2020-08-13
🎉 New features
- Add permissions for web. (#9671 by @EvanBacon)
🐛 Bug fixes
- Fixed
getAlbumsAsync(),getAlbum()and media change listener crashing on Android 10. (#9666 by @barthap)
9.0.0 — 2020-08-11
🛠 Breaking changes
- Added external storage permissions declarations to
AndroidManifest.xmlon Android. (#9231 by @bycedric)
🐛 Bug fixes
- Fixed validation for input arguments of
getAssetsAsync. (#9538 by @barthap) - Fixed bug, where
getAssetsAsyncdid not reject on error on Android. (#9538 by @barthap)
8.5.0 — 2020-07-29
🎉 New features
- Added
optionstogetAssetInfoAsync(), which allows specifying whether to download the asset from network in iOS. (#9405 by @jarvisluong) - Added support for the limited
CAMERA_ROLLpermission on iOS 14. (#9423 by @lukmccall)
🐛 Bug fixes
8.4.0 — 2020-07-27
🐛 Bug fixes
8.3.0 — 2020-07-02
🐛 Bug fixes
- Handled the crash when calling
getAssetInfoAsyncon a slow motion video on iOS. (#8802 by @jarvisluong)
8.2.1 — 2020-05-29
This version does not introduce any user-facing changes.
8.2.0 — 2020-05-27
🐛 Bug fixes
- Added missing image loader for
MediaLibraryin bare workflow. (#8304 by @tsapeta) - Fixed
MediaLibrarynot compiling with theuse_frameworks!option in the bare React Native application. (#7861 by @Ashoat) - Flip dimensions based on media rotation data on Android to match
<Image>and<Video>as well as iOS behavior. (#7980 by @Ashoat)