Problem uploading with iPhone in a Cordova app

0

Hello, I'm working on a project where I have to serve an external and responsive website from a cordova app. It's almost all working as expected, but I'm having trouble uploading images on the iPhone.

How it works on the site: After selecting the image, it is converted to base64 and submitted to the server.

Problem : Attempting to upload from iPhone gives you the option to take a photo right now. When you take the picture in Portrait orientation this image when submitted is "lying down", as if it forced you to take the picture in the Landscape position.

I would like to know how to solve this, just by putting the image in the correct orientation, can anyone help me?

Another option would be to disable the take photo option, does anyone know how to remove this option?

If I just let the person select in the files this will solve my problem.

    
asked by anonymous 26.07.2018 / 22:32

0 answers