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-5749) App getting crash some times when i use take photo using navigator.camera.getPicture in iOS 7.0
Date Tue, 13 Oct 2015 00:38:05 GMT

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

Richard B Knoll updated CB-5749:
--------------------------------
    Description: 
I am getting this crash in iOS 7 only. In iOS 6 it works fine. I used the following code for
take photo.

{code:javascript}
var destinationType=navigator.camera.DestinationType;
navigator.camera.getPicture(this.caregiverPhotoSuccess, this.caregiverPhotoFail, {
     quality: 50,
     targetWidth:300,
     targetHeight:300,
     destinationType: destinationType.DATA_URL,
     sourceType:2,
     correctOrientation: true 
});
{code}

I am getting this error when app crash.
      Received memory warning.
      Plugin 'CDVCamera' has a pending operation, memory purge is delayed for didReceiveMemoryWarning.

  was:
I am getting this crash in iOS 7 only. In iOS 6 it works fine. I used the following code for
take photo.

     var destinationType=navigator.camera.DestinationType;
     navigator.camera.getPicture(this.caregiverPhotoSuccess, this.caregiverPhotoFail, {quality:
50,targetWidth:300,targetHeight:300,destinationType: destinationType.DATA_URL,sourceType:2,correctOrientation:
true });

I am getting this error when app crash.
      Received memory warning.
      Plugin 'CDVCamera' has a pending operation, memory purge is delayed for didReceiveMemoryWarning.


> App getting crash some times when i use take photo using navigator.camera.getPicture
in iOS 7.0
> -----------------------------------------------------------------------------------------------
>
>                 Key: CB-5749
>                 URL: https://issues.apache.org/jira/browse/CB-5749
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>         Environment: Cordova-2.4.0, Sencha touch 2.1.1, iOS-7.0, XCode-5.0
> iOS
>            Reporter: kalyani puvvada
>
> I am getting this crash in iOS 7 only. In iOS 6 it works fine. I used the following code
for take photo.
> {code:javascript}
> var destinationType=navigator.camera.DestinationType;
> navigator.camera.getPicture(this.caregiverPhotoSuccess, this.caregiverPhotoFail, {
>      quality: 50,
>      targetWidth:300,
>      targetHeight:300,
>      destinationType: destinationType.DATA_URL,
>      sourceType:2,
>      correctOrientation: true 
> });
> {code}
> I am getting this error when app crash.
>       Received memory warning.
>       Plugin 'CDVCamera' has a pending operation, memory purge is delayed for didReceiveMemoryWarning.



--
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