Native Camera saves images with 90º rotation

Hi!

I’m using Native camera plugin to capture photos with mobile device. It works perfectly but when it is saved to S3 url the image gets rotated 90º.

How can i avoid this from happening or rotate it back to the original position?

Thanks!