The imagePicker allways crop as square?

I did an app in ios and I was able to take a picture or selected from the library and crop it rectangular with an aspectRatio that I wish. Using EXPO imagePicker, I can’t get an portrait image, is there a way to get rectangle portrait images on the ios simulator with Expo image picker?

What are you passing to this parameter?

_pickImage = async () => {
let result = await ImagePicker.launchImageLibraryAsync({
allowsEditing: true,
aspect: [4, 3],

if (!result.cancelled) {
  this.setState({ image: result.uri });


I did play with the aspect ratio but as it said in your link for ios it does not work but I want a portrait layout and cant find any documentation.

You might need to resize the image on your own.

For that, you’d need to drop to the level of ExpoKit and use this react-native library:

1 Like