[jira] [Created] (CB-8035) CLONE - [iOS 8][Camera] Newly Taken Picture Previews are Black

2014-11-18 Thread Miguel Angel Del Monte Ortega (JIRA)
Miguel Angel Del Monte Ortega created CB-8035:
-

 Summary: CLONE - [iOS 8][Camera] Newly Taken Picture Previews are 
Black
 Key: CB-8035
 URL: https://issues.apache.org/jira/browse/CB-8035
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Camera
Affects Versions: 3.3.0
 Environment: iOS 8 on an iPhone 6
Reporter: Miguel Angel Del Monte Ortega


When making the following call using iOS 8 on an iPhone 6 then taking a new 
picture, the XCode console display the error *"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."* and the 
image preview screen becomes completely black:

{noformat}
navigator.camera.getPicture(
function() { ... }, 
function() { ... }, 
{ 
quality: 40,
destinationType: Camera.DestinationType.DATA_URL,
sourceType : Camera.PictureSourceType.CAMERA,
allowEdit : false,
encodingType: Camera.EncodingType.JPEG,
correctOrientation: true,
targetWidth: 600,
targetHeight: 800,
saveToPhotoAlbum: true
}
);
{noformat}

The "Re-Take" and "Use Photo" buttons at the bottom of the screen appear and 
function properly though.

I'm using the latest camera plugin code base located at: 
https://github.com/apache/cordova-plugin-camera

This behavior is not occurring using the same code with iOS 7.1 on an iPhone 5.



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

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



[jira] [Commented] (CB-7641) [iOS 8][Camera] Newly Taken Picture Previews are Black

2014-11-12 Thread Miguel Angel Del Monte Ortega (JIRA)

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

Miguel Angel Del Monte Ortega commented on CB-7641:
---

This is bug appears to only shows up on iOS 8.1 and only on some iPhones
On an iPhone 5S and iPhone 5 , both with iOS8.1 after the first photo the 
preview camera shows a black screen.. 
an iPhone 5c appears to work normally

> [iOS 8][Camera] Newly Taken Picture Previews are Black
> --
>
> Key: CB-7641
> URL: https://issues.apache.org/jira/browse/CB-7641
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Plugin Camera
>Affects Versions: 3.3.0
> Environment: iOS 8 on an iPhone 6
>Reporter: Nathan Beigel
>
> When making the following call using iOS 8 on an iPhone 6 then taking a new 
> picture, the XCode console display the error *"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."* and the image preview screen becomes completely black:
> {noformat}
> navigator.camera.getPicture(
>   function() { ... }, 
>   function() { ... }, 
>   { 
>   quality: 40,
>   destinationType: Camera.DestinationType.DATA_URL,
>   sourceType : Camera.PictureSourceType.CAMERA,
>   allowEdit : false,
>   encodingType: Camera.EncodingType.JPEG,
>   correctOrientation: true,
>   targetWidth: 600,
>   targetHeight: 800,
>   saveToPhotoAlbum: true
>   }
> );
> {noformat}
> The "Re-Take" and "Use Photo" buttons at the bottom of the screen appear and 
> function properly though.
> I'm using the latest camera plugin code base located at: 
> https://github.com/apache/cordova-plugin-camera
> This behavior is not occurring using the same code with iOS 7.1 on an iPhone 
> 5.



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

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