You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Logicmedia (JIRA)" <ji...@apache.org> on 2016/03/07 13:55:40 UTC

[jira] [Commented] (CB-3233) Migrate Geolocation code out of CDVCamera.m

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

Logicmedia commented on CB-3233:
--------------------------------

The geolocation code is broken i version 2.1.0 and has been since 0.3.5 when CameraUsesGeolocation is true.
CB-7937 broke the switch case for processImage method, where line 316 was removed (used to be data = UIImageJPEGRepresentation(returnedImage, cameraPicker.quality / 100.0f);)

Readding this line fixes the problem with the camera crashing when taking a picture, but the images are without any geolocation information.

Reverting back to version 0.3.4 resolves the issue and both the camera and geolocation data works.

> Migrate Geolocation code out of CDVCamera.m
> -------------------------------------------
>
>                 Key: CB-3233
>                 URL: https://issues.apache.org/jira/browse/CB-3233
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: Plugin Camera
>    Affects Versions: Master
>         Environment: iOS
>            Reporter: Lorin Beer
>              Labels: iOS
>
> Sebastien Burel's GEO code provides the exif writer with geolocation data. Migrate to exif reader, and revert CDVCamera to original form.



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