Please provide the following:
- SDK Version: 35
- Platforms(Android/iOS/web/all): all
There’s any way to filter image picker by album in my device?
This is my snippet code
pickImage = async () => {
try {
let result = await ImagePicker.launchImageLibraryAsync({
mediaTypes: ImagePicker.MediaTypeOptions.Images,
// allowsEditing: true,
// aspect: [4, 3],
quality: 1
});
if (!result.cancelled) {
this.setState({ image: result.uri });
}
this.props.navigation.navigate(‘GalleryScreen’, {navigation: this.props.navigation, image: this.state.image})
console.log(result);
} catch (error) {
console.log(error);
}
};