When taking a photo with ImagePicker.launchCameraAsync, returned image object always has horizontal dimensions, even the photo is vertical, which results the photo being flattened. The issue was found only on Android phones, iOS is ok. The problem also persists when taking pictures with front camera.
Object {
“cancelled”: false,
“height”: 2988, - should be swapped with width
“type”: “image”,
“uri”: “file:/data/user/0/host.exp.exponent/cache/ExperienceData/%2540vaclav.ryska%252FtestApp2/ImagePicker/b87b4292-df67-4e45-acb3-467906c65635.jpg”,
“width”: 5312, - should be swapped with height
}