Copy link to clipboard
Copied
I have a simple app that lets you choose a photo from your camera roll
descriptor file is as follows:
<aspectRatio>portrait</aspectRatio>
<autoOrients>false</autoOrients>
Code is as follows:
var cameraRoll:CameraRoll = new CameraRoll();
cameraRoll.addEventListener(Event.CANCEL, onCancelHandler, false, 0, true);
cameraRoll.addEventListener(MediaEvent.SELECT, onPhoto, false, 0, true);
cameraRoll.browseForImage();
The problem is that my app is portrait and is NOT supposed to auto-orient, but if while browsing I rotate the device and either 1) hit cancel or 2) select an image, my app is rotated to the stage.deviceOrientation of when #1 or #2 happened. and stage.orientation still reads as StageOrientation.DEFAULT.
Anyone experience this as well?
Copy link to clipboard
Copied
added to the adobe bug database: Bug #3993768
Copy link to clipboard
Copied
Thanks for raising the Issue.
We are able to reproduce the issue and investigating it further.
Regards,
Adobe AIR Team