cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7676) CDV Camera doesn't fire callback under certain conditions
Date Tue, 13 Oct 2015 22:20:05 GMT

     [ https://issues.apache.org/jira/browse/CB-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard B Knoll updated CB-7676:
--------------------------------
    Description: 
Camera doesn't fire callbacks if the targetWidth/Height are set and the source is camera.
Other combinations seem to work OK.
 
{code:javascript}
navigator.camera.getPicture(onCaptureSuccess, onCaptureFail, {
					quality: 40,
					destinationType: Camera.DestinationType.DATA_URL,
					targetWidth: 500,
					targetHeight: 500
				});
{code}

Not sure if this is relevant, but this is what gets outputted in the console:

2014-09-30 16:43:41.136 eEcosphere[351:50878] Snapshotting a view that has not been rendered
results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting
or snapshot after screen updates.

This has been thoroughly tested. 

  was:
Camera doesn't fire callbacks if the targetWidth/Height are set and the source is camera.
Other combinations seem to work OK. 

navigator.camera.getPicture(onCaptureSuccess, onCaptureFail, {
					quality: 40,
					destinationType: Camera.DestinationType.DATA_URL,
					targetWidth: 500,
					targetHeight: 500
				});

Not sure if this is relevant, but this is what gets outputted in the console:

2014-09-30 16:43:41.136 eEcosphere[351:50878] Snapshotting a view that has not been rendered
results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting
or snapshot after screen updates.

This has been thoroughly tested. 


> CDV Camera doesn't fire callback under certain conditions 
> ----------------------------------------------------------
>
>                 Key: CB-7676
>                 URL: https://issues.apache.org/jira/browse/CB-7676
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 3.4.0, 3.5.0, 3.6.0
>         Environment: iOS 8, iPhone 6 — pending test on others
>            Reporter: Maxfield Ellinger
>            Priority: Critical
>              Labels: callback, camera
>
> Camera doesn't fire callbacks if the targetWidth/Height are set and the source is camera.
Other combinations seem to work OK.
>  
> {code:javascript}
> navigator.camera.getPicture(onCaptureSuccess, onCaptureFail, {
> 					quality: 40,
> 					destinationType: Camera.DestinationType.DATA_URL,
> 					targetWidth: 500,
> 					targetHeight: 500
> 				});
> {code}
> Not sure if this is relevant, but this is what gets outputted in the console:
> 2014-09-30 16:43:41.136 eEcosphere[351:50878] Snapshotting a view that has not been rendered
results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting
or snapshot after screen updates.
> This has been thoroughly tested. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message