EDIT: I did not see this bug was for iOS. I don't have this problem on the iOS version of the app I'm building, only in the Android version. Sorry for the confusion, I'll open a new bug.
I also encounter this bug.
What I've find out is that requesting the orientation via the MediaStore gives a different result than with the ExifHelper. In case of a portrait pic, the MediaStore returns 90, when reading the exif infos gives 0 as expected.
I tried to fix it by requesting the info from Exif only (as a test only), but some pictures get a wrong orientation then (typically, pictures downloaded from the web). For pictures taken with the camera and accessed through the Gallery, it seemed to work.
However, and that is the big "WTF is happening?!" for me, after rebooting the phone, I was getting exactly the opposite results (pic taken from the camera have the wrong exif data and other the right one, with a nice symmetry on the MediaStore side, where it's the opposite...).
So, I'm a bit confused, and any help would be appreciated. The last thing I tried was to force the MediaStore to update (with MediaScannerConnection.scanFile), with no luck (maybe it's totally wrong to do that though, I was trying all I could think of).
I'm available for testing possible solutions, and will give it another go on monday anyway.
So, any idea is welcomed