cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Mefire (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-10873) "cordova-plugin-camera" 2.1.1 CameraUsesGeolocation preference causes camera to crash iOS app
Date Wed, 13 Apr 2016 22:51:26 GMT

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

Omar Mefire edited comment on CB-10873 at 4/13/16 10:51 PM:
------------------------------------------------------------

can confirm that this issue happens only when I specify JPEG and have the following preference
in my config.xml:
<preference name="CameraUsesGeolocation" value="true" />


was (Author: omefire):
can confirm that this issue happens only when I have the following preference in my config.xml:
<preference name="CameraUsesGeolocation" value="true" />

> "cordova-plugin-camera" 2.1.1 CameraUsesGeolocation preference causes camera to crash
iOS app
> ---------------------------------------------------------------------------------------------
>
>                 Key: CB-10873
>                 URL: https://issues.apache.org/jira/browse/CB-10873
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.1.1
>         Environment: Cordova Cli-6.0
> Cordova-iOS 4.1.0
> cordova-plugin-camera 2.1.1
> cordova-plugin-wkwebview-engine 1.0.2
> ipad mini iOS 9.2.1
> my config.xml have these lines
> <preference name="AndroidPersistentFileLocation" value="Compatibility" />
> <preference name="iosPersistentFileLocation" value="Compatibility" />
> <preference name="AndroidExtraFilesystems" value="files,files-external,documents,sdcard,cache,cache-external,root"
/>
> <preference name="iosExtraFilesystems" value="library,library-nosync,documents,documents-nosync,cache,bundle,root"
/>
>            Reporter: Colin Bau
>            Assignee: Omar Mefire
>              Labels: iOS, triaged, wfc
>
> this is my full test code
> =====
> navigator.camera.getPicture(cameraSuccess, cameraError, null);
> function cameraSuccess() { alert("Camera success.") }
> function cameraError(message) { alert('Failed because: ' + message); }
> =====
> step1,I use "navigator.camera.getPicture"
> step2,it will appear a camera interface and I press the take photo button
> step3,click the "use the photo" button
> step4,it will back to my original app,but after 1-2 seconds,shut down immediately
> Android have no this problem,and it will trigger the "cameraSuccess" callback



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