You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Prasoon Chaudhary (JIRA)" <ji...@apache.org> on 2016/04/15 19:36:25 UTC

[jira] [Commented] (ATLAS-679) Camera plugin changes body height

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

Prasoon Chaudhary commented on ATLAS-679:
-----------------------------------------

Steps to reproduce:

1. Create a cordova project in iOS and add Camera plugin
2. Open js>index.js, and write following code inside receivedEvent after console.log('Received Event: ' + id); - 

 var onSuccess = function (param1) {
                console.log('camera success');
            }
            //
        var onFail = function () {
            console.log('camera fail');
        }
        navigator.camera.getPicture(onSuccess, onFail, {
            quality: 50,
            targetWidth: 2000,
            targetHeight: 2000,
            destinationType: Camera.DestinationType.FILE_URI,
            correctOrientation: true
        });

3. In Xcode, change DeviceOrientation values to use all four orientations
3. Run the application on iPad Mini (iOS 9.3.1) in Portrait mode
4. Camera view will open in Portrait mode, Rotate device to Landscape mode, Take Picture or Press Cancel
5. On Index page, Body height is decreased and everything is cropped / resized

!IMG_1451.jpg|thumbnail!

> Camera plugin changes body height
> ---------------------------------
>
>                 Key: ATLAS-679
>                 URL: https://issues.apache.org/jira/browse/ATLAS-679
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Prasoon Chaudhary
>         Attachments: IMG_1451.jpg
>
>




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