atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasoon Chaudhary (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ATLAS-679) Camera plugin changes body height
Date Fri, 15 Apr 2016 19:54:25 GMT

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

Prasoon Chaudhary edited comment on ATLAS-679 at 4/15/16 7:53 PM:
------------------------------------------------------------------

This bug appears only if we add ios status bar plugin - cordova plugin add cordova-plugin-statusbar

Steps to reproduce:

1. Create a cordova project in iOS and add Camera and StatusBar 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!


was (Author: yesprasoon):
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)

Mime
View raw message