It appears to do nothing, except on iOS. It is listed as supported on iOS and Android, and back in 1.7, it was iOS only,
Android does this: this.correctOrientation = args.getBoolean(8); iOS uses it after the image is captured, and calls imageCorrectedForCaptureOrientation [1] which rotates it according to the orientation of the camera when the picture was taken. [1] https://github.com/apache/cordova-plugin-camera/blob/master/src/ios/CDVCamera.m#L455 @purplecabbage risingj.com On Wed, Dec 4, 2013 at 5:25 PM, Josh Soref <[email protected]> wrote: > John wrote: > > Can someone explain to me what correctOrientation is supposed to do? > > http://docs.phonegap.com/en/1.7.0/cordova_camera_camera.md.html > > Lists a bunch of platforms that don't implement it. > > My guess is that some older platforms wouldn't automatically switch > between portrait and landscape orientations for photos. > --------------------------------------------------------------------- > This transmission (including any attachments) may contain confidential > information, privileged material (including material protected by the > solicitor-client or other applicable privileges), or constitute non-public > information. Any use of this information by anyone other than the intended > recipient is prohibited. If you have received this transmission in error, > please immediately reply to the sender and delete this information from > your system. Use, dissemination, distribution, or reproduction of this > transmission by unintended recipients is not authorized and may be unlawful. > >
