Please provide the following:
- SDK Version: 36
- Platforms(Android/iOS/web/all):
What should I use to list the photos? “CameraRoll.getPhotos()” function deleted?
Please provide the following:
What should I use to list the photos? “CameraRoll.getPhotos()” function deleted?
Hi
According to the SDK 36 release notes:
CameraRoll
andART
have both been removed from thereact-native
package, developers are encouraged to useexpo-media-library
andreact-native-svg
instead
See here:
yes but there is no function to list the photos in expo-media-library. i want to listing photos by album name.
When you say “by album name”, do you mean you want to get a list of items for a given album?
Wouldn’t MediaLibrary.getAssetsAsync({ album: "album name" })
work?
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.