cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7527) [Camera][iOS 8] - Rotation issue
Date Mon, 15 Sep 2014 00:25:34 GMT

    [ https://issues.apache.org/jira/browse/CB-7527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133455#comment-14133455
] 

Shazron Abdullah commented on CB-7527:
--------------------------------------

I'm not sure if I can repro this. Any repro steps?

I used:
{code}
function takePicture() {
    navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
                                destinationType: Camera.DestinationType.FILE_URI });
    
    function onSuccess(imageURI) {
        var image = document.getElementById('myImage');
        image.src = imageURI;
    }
    
    function onFail(message) {
        alert('Failed because: ' + message);
    }
}
{code}

...with all orientations enabled in the Info.plist. The only UI elements that rotate I see
are the "Auto (Flash)" and Front/Back Camera Switch buttons.

> [Camera][iOS 8] - Rotation issue
> --------------------------------
>
>                 Key: CB-7527
>                 URL: https://issues.apache.org/jira/browse/CB-7527
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Plugin Camera
>    Affects Versions: 3.5.0
>         Environment: cordova 3.5.0, ios 8 GM, xcode 6 GM, camera plugin 0.2.8 (same with
ancient cordova 2.2)
>            Reporter: Roman Mandryk
>            Assignee: Shazron Abdullah
>
> When using ios 8 GM and cordova 3.5 app, after launching the camera in any rotation the
camera is launched fine and shoot button is on the right side. When I rotate the device into
new orientation, the picture gets sideways or upsidedown with shoot button always on right
side.
> Native camera app has weird glitch when changing orientation (not present in 7.1) but
then changes orientation correctly.
> The problem seems to appear only in cordova app.
> Issue happens with both current app in production and app build with xcode 6 GM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message